vout crashes on initialization
When try to play any video with VLCKit's HEAD on the libvlc v4 master branch, the vout will crash on init.
2019-07-22 13:47:50.352441+0200 VLC-tvOS[78434:7836979] VLC media player - 4.0.0-dev Otto Chriek
2019-07-22 13:47:50.352547+0200 VLC-tvOS[78434:7836979] Copyright © 1996-2019 the VideoLAN team
2019-07-22 13:47:50.352618+0200 VLC-tvOS[78434:7836979] revision 4.0.0-dev-8772-g99a76fc988
2019-07-22 13:47:50.352704+0200 VLC-tvOS[78434:7836979] configured with /Users/fkuehne/Desktop/videolan/gits/VLCKit/libvlc/vlc/configure '--prefix=/Users/fkuehne/Desktop/videolan/gits/VLCKit/libvlc/vlc/install-AppleTVSimulator/x86_64' '--host=x86_64-apple-darwin14' '--with-contrib=/Users/fkuehne/Desktop/videolan/gits/VLCKit/libvlc/vlc/contrib/AppleTV-x86_64-apple-darwin14-x86_64' '--enable-static' '--enable-dvbpsi' '--enable-avcodec' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-shared' '--enable-opus' '--disable-faad' '--disable-lua' '--disable-a52' '--enable-fribidi' '--disable-qt' '--disable-skins2' '--disable-vcd' '--disable-vlc' '--disable-vlm' '--disable-nls' '--disable-sse' '--disable-notify' '--enable-live555' '--enable-swscale' '--disable-projectm' '--enable-libass' '--enable-libxml2' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-libva' '--disable-gme' '--disable-tremor' '--enable-vorbis' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-mtp' '--enable-ogg' '--enable-speex' '--enable-theora' '--enable-flac' '--disable-screen' '--enable-freetype' '--enable-taglib' '--disable-mmx' '--disable-sparkle' '--disable-addonmanagermodules' '--disable-libplacebo' '--disable-mad' 'host_alias=x86_64-apple-darwin14' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.2.sdk -arch x86_64 -O3 -mtvos-version-min=10.2 -fembed-bitcode -DNDEBUG' 'LDFLAGS=-arch x86_64 -Wl,-tvos_simulator_version_min,10.2 -v' 'CPPFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.2.sdk -arch x86_64 -O3 -mtvos-version-min=10.2 -fembed-bitcode' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.2.sdk -arch x86_64 -O3 -mtvos-version-min=10.2 -fembed-bitcode' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-O3 -fobjc-abi-version=2 -fobjc-legacy-dispatch' 'PKG_CONFIG_PATH='
2019-07-22 13:47:50.357178+0200 VLC-tvOS[78434:7837181] Creating an input for preparsing 'Blackmagic Pocket Cinema Camera 4K ‘Models Close Up at Night’-0Jyl4HeNh1s.mp4'
2019-07-22 13:47:50.357600+0200 VLC-tvOS[78434:7837037] Creating an input for 'Blackmagic Pocket Cinema Camera 4K ‘Models Close Up at Night’-0Jyl4HeNh1s.mp4'
2019-07-22 13:47:50.358389+0200 VLC-tvOS[78434:7837183] using timeshift granularity of 50 MiB
2019-07-22 13:47:50.358666+0200 VLC-tvOS[78434:7837183] using default timeshift path
2019-07-22 13:47:50.358763+0200 VLC-tvOS[78434:7837183] `file:///Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic%20Pocket%20Cinema%20Camera%204K%20%E2%80%98Models%20Close%20Up%20at%20Night%E2%80%99-0Jyl4HeNh1s.mp4' gives access `file' demux `any' path `/Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic%20Pocket%20Cinema%20Camera%204K%20%E2%80%98Models%20Close%20Up%20at%20Night%E2%80%99-0Jyl4HeNh1s.mp4'
2019-07-22 13:47:50.358876+0200 VLC-tvOS[78434:7837183] creating access: file:///Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic%20Pocket%20Cinema%20Camera%204K%20%E2%80%98Models%20Close%20Up%20at%20Night%E2%80%99-0Jyl4HeNh1s.mp4
2019-07-22 13:47:50.358974+0200 VLC-tvOS[78434:7837183] (path: /Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic Pocket Cinema Camera 4K ‘Models Close Up at Night’-0Jyl4HeNh1s.mp4)
2019-07-22 13:47:50.359070+0200 VLC-tvOS[78434:7837183] looking for access module matching "file": 22 candidates
2019-07-22 13:47:50.359253+0200 VLC-tvOS[78434:7837183] using access module "filesystem"
2019-07-22 13:47:50.359338+0200 VLC-tvOS[78434:7837183] looking for stream_filter module matching "prefetch,cache": 23 candidates
2019-07-22 13:47:50.359431+0200 VLC-tvOS[78434:7837183] Using stream method for AStream*
2019-07-22 13:47:50.359529+0200 VLC-tvOS[78434:7837183] starting pre-buffering
2019-07-22 13:47:50.359664+0200 VLC-tvOS[78434:7837183] received first data after 0 ms
2019-07-22 13:47:50.359742+0200 VLC-tvOS[78434:7837183] pre-buffering done 1024 bytes in 0s - 4672 KiB/s
2019-07-22 13:47:50.359841+0200 VLC-tvOS[78434:7837183] using stream_filter module "cache_read"
2019-07-22 13:47:50.359920+0200 VLC-tvOS[78434:7837183] looking for stream_filter module matching "any": 23 candidates
2019-07-22 13:47:50.362123+0200 VLC-tvOS[78434:7837183] no stream_filter modules matched
2019-07-22 13:47:50.362317+0200 VLC-tvOS[78434:7837183] looking for stream_directory module matching "any": 0 candidates
2019-07-22 13:47:50.362404+0200 VLC-tvOS[78434:7837183] no stream_directory modules
2019-07-22 13:47:50.362522+0200 VLC-tvOS[78434:7837183] attachment of directory-extractor failed for file:///Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic%20Pocket%20Cinema%20Camera%204K%20%E2%80%98Models%20Close%20Up%20at%20Night%E2%80%99-0Jyl4HeNh1s.mp4
2019-07-22 13:47:50.362615+0200 VLC-tvOS[78434:7837183] looking for stream_filter module matching "record": 23 candidates
2019-07-22 13:47:50.362708+0200 VLC-tvOS[78434:7837183] using stream_filter module "record"
2019-07-22 13:47:50.362798+0200 VLC-tvOS[78434:7837183] creating demux "any", URL: file:///Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic%20Pocket%20Cinema%20Camera%204K%20%E2%80%98Models%20Close%20Up%20at%20Night%E2%80%99-0Jyl4HeNh1s.mp4, path: /Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic Pocket Cinema Camera 4K ‘Models Close Up at Night’-0Jyl4HeNh1s.mp4
2019-07-22 13:47:50.362885+0200 VLC-tvOS[78434:7837183] looking for demux module matching "mp4": 46 candidates
2019-07-22 13:47:50.363007+0200 VLC-tvOS[78434:7837183] dumping root Box "root"
2019-07-22 13:47:50.363088+0200 VLC-tvOS[78434:7837183] | + ftyp size 28 offset 0
2019-07-22 13:47:50.363165+0200 VLC-tvOS[78434:7837183] | + moov size 677 offset 28
2019-07-22 13:47:50.363246+0200 VLC-tvOS[78434:7837183] | | + mvhd size 108 offset 36
2019-07-22 13:47:50.363435+0200 VLC-tvOS[78434:7837183] | | + mvex size 40 offset 144
2019-07-22 13:47:50.363530+0200 VLC-tvOS[78434:7837183] | | | + trex size 32 offset 152
2019-07-22 13:47:50.363607+0200 VLC-tvOS[78434:7837183] | | + trak size 521 offset 184
2019-07-22 13:47:50.363679+0200 VLC-tvOS[78434:7837183] | | | + tkhd size 92 offset 192
2019-07-22 13:47:50.363757+0200 VLC-tvOS[78434:7837183] | | | + mdia size 421 offset 284
2019-07-22 13:47:50.363825+0200 VLC-tvOS[78434:7837183] | | | | + mdhd size 32 offset 292
2019-07-22 13:47:50.363912+0200 VLC-tvOS[78434:7837183] | | | | + hdlr size 95 offset 324
2019-07-22 13:47:50.364034+0200 VLC-tvOS[78434:7837183] | | | | + minf size 286 offset 419
2019-07-22 13:47:50.364210+0200 VLC-tvOS[78434:7837183] | | | | | + dinf size 36 offset 427
2019-07-22 13:47:50.364358+0200 VLC-tvOS[78434:7837183] | | | | | | + dref size 28 offset 435
2019-07-22 13:47:50.364508+0200 VLC-tvOS[78434:7837183] | | | | | | | + url size 12 offset 451
2019-07-22 13:47:50.364641+0200 VLC-tvOS[78434:7837183] | | | | | + stbl size 222 offset 463
2019-07-22 13:47:50.364790+0200 VLC-tvOS[78434:7837183] | | | | | | + stsd size 130 offset 471
2019-07-22 13:47:50.364930+0200 VLC-tvOS[78434:7837183] | | | | | | | + av01 size 114 offset 487
2019-07-22 13:47:50.365044+0200 VLC-tvOS[78434:7837183] | | | | | | | | + av1C size 28 offset 573
2019-07-22 13:47:50.365235+0200 VLC-tvOS[78434:7837183] | | | | | | + stts size 16 offset 601
2019-07-22 13:47:50.365371+0200 VLC-tvOS[78434:7837183] | | | | | | + stsc size 16 offset 617
2019-07-22 13:47:50.365555+0200 VLC-tvOS[78434:7837183] | | | | | | + stco size 16 offset 633
2019-07-22 13:47:50.365718+0200 VLC-tvOS[78434:7837183] | | | | | | + stsz size 20 offset 649
2019-07-22 13:47:50.365896+0200 VLC-tvOS[78434:7837183] | | | | | | + stss size 16 offset 669
2019-07-22 13:47:50.366064+0200 VLC-tvOS[78434:7837183] | | | | | + vmhd size 20 offset 685
2019-07-22 13:47:50.366201+0200 VLC-tvOS[78434:7837185] looking for meta fetcher module matching "any": 0 candidates
2019-07-22 13:47:50.366262+0200 VLC-tvOS[78434:7837183] | + sidx size 260 offset 705
2019-07-22 13:47:50.366425+0200 VLC-tvOS[78434:7837185] no meta fetcher modules
2019-07-22 13:47:50.366550+0200 VLC-tvOS[78434:7837183] DASH Stream
2019-07-22 13:47:50.366697+0200 VLC-tvOS[78434:7837185] looking for art finder module matching "any": 1 candidates
2019-07-22 13:47:50.366833+0200 VLC-tvOS[78434:7837183] found 1 tracks
2019-07-22 13:47:50.367138+0200 VLC-tvOS[78434:7837183] track[Id 0x1] read 0 chunk
2019-07-22 13:47:50.367238+0200 VLC-tvOS[78434:7837183] track[Id 0x1] read 0 samples length:0s
2019-07-22 13:47:50.367331+0200 VLC-tvOS[78434:7837185] no art finder modules matched
2019-07-22 13:47:50.367459+0200 VLC-tvOS[78434:7837183] selecting program id=0
2019-07-22 13:47:50.367732+0200 VLC-tvOS[78434:7837183] adding track[Id 0x1] video (enable) language undef
2019-07-22 13:47:50.367844+0200 VLC-tvOS[78434:7837183] Set Fragmented demux mode
2019-07-22 13:47:50.368027+0200 VLC-tvOS[78434:7837183] using demux module "mp4"
2019-07-22 13:47:50.368330+0200 VLC-tvOS[78434:7837183] looking for a subtitle file in /Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/
2019-07-22 13:47:50.368599+0200 VLC-tvOS[78434:7837183] looking for video decoder module matching "any": 11 candidates
2019-07-22 13:47:50.372530+0200 VLC-tvOS[78434:7837183] Using dav1d version 0.3.1 with 8/4 frame/tile threads
2019-07-22 13:47:50.372720+0200 VLC-tvOS[78434:7837183] using video decoder module "dav1d"
2019-07-22 13:47:50.372969+0200 VLC-tvOS[78434:7837183] looking for meta reader module matching "any": 1 candidates
2019-07-22 13:47:50.373985+0200 VLC-tvOS[78434:7837183] no meta reader modules matched
2019-07-22 13:47:50.374068+0200 VLC-tvOS[78434:7837183] `file:///Users/fkuehne/Library/Developer/CoreSimulator/Devices/E3B44422-7B54-4EC1-B3AB-28A8F01E6862/data/Containers/Data/Application/269B2625-A0BB-4B67-8ABC-73AC595E7142/Library/Caches/Upload/Blackmagic%20Pocket%20Cinema%20Camera%204K%20%E2%80%98Models%20Close%20Up%20at%20Night%E2%80%99-0Jyl4HeNh1s.mp4' successfully opened
2019-07-22 13:47:50.374179+0200 VLC-tvOS[78434:7837183] track 1 enabled!
2019-07-22 13:47:50.374423+0200 VLC-tvOS[78434:7837183] Buffering 0%
2019-07-22 13:47:50.374869+0200 VLC-tvOS[78434:7837183] Buffering 25%
2019-07-22 13:47:50.374970+0200 VLC-tvOS[78434:7837183] Buffering 50%
2019-07-22 13:47:50.375072+0200 VLC-tvOS[78434:7837183] Buffering 75%
2019-07-22 13:47:50.375155+0200 VLC-tvOS[78434:7837183] Stream buffering done (1000 ms in 0 ms)
2019-07-22 13:47:50.377190+0200 VLC-tvOS[78434:7837226] vout: none found
2019-07-22 13:47:50.377302+0200 VLC-tvOS[78434:7837226] vout change: decoder size
2019-07-22 13:47:50.377382+0200 VLC-tvOS[78434:7837226] vout change: visible size
2019-07-22 13:47:50.377456+0200 VLC-tvOS[78434:7837226] vout change: chroma
2019-07-22 13:47:50.377758+0200 VLC-tvOS[78434:7837226] looking for text renderer module matching "freetype": 2 candidates
2019-07-22 13:47:50.401754+0200 VLC-tvOS[78434:7837226] using text renderer module "freetype"
2019-07-22 13:47:50.401863+0200 VLC-tvOS[78434:7837226] looking for video converter module matching "any": 14 candidates
2019-07-22 13:47:50.406646+0200 VLC-tvOS[78434:7837226] 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
2019-07-22 13:47:50.406796+0200 VLC-tvOS[78434:7837226] using video converter module "swscale"
2019-07-22 13:47:50.406952+0200 VLC-tvOS[78434:7837226] looking for video converter module matching "any": 14 candidates
2019-07-22 13:47:50.407071+0200 VLC-tvOS[78434:7837226] YUVP to YUVA converter
2019-07-22 13:47:50.407164+0200 VLC-tvOS[78434:7837226] using video converter module "yuvp"
2019-07-22 13:47:50.407277+0200 VLC-tvOS[78434:7837226] Deinterlacing available
2019-07-22 13:47:50.407388+0200 VLC-tvOS[78434:7837226] deinterlace 0, mode auto, is_needed 0
2019-07-22 13:47:50.407478+0200 VLC-tvOS[78434:7837226] looking for vout window module matching "any": 2 candidates
2019-07-22 13:47:50.407552+0200 VLC-tvOS[78434:7837226] using vout window module "wdummy"
2019-07-22 13:47:50.407622+0200 VLC-tvOS[78434:7837226] looking for inhibit module matching "any": 0 candidates
2019-07-22 13:47:50.407701+0200 VLC-tvOS[78434:7837226] no inhibit modules
2019-07-22 13:47:50.407795+0200 VLC-tvOS[78434:7837226] deinterlace 0, mode auto, is_needed 0
2019-07-22 13:47:50.407908+0200 VLC-tvOS[78434:7837226] resized to 1920x1080
2019-07-22 13:47:50.408040+0200 VLC-tvOS[78434:7837226] Opening vout display wrapper
2019-07-22 13:47:50.408187+0200 VLC-tvOS[78434:7837226] looking for decoder device module matching "any": 0 candidates
2019-07-22 13:47:50.408299+0200 VLC-tvOS[78434:7837226] no decoder device modules
2019-07-22 13:47:50.408444+0200 VLC-tvOS[78434:7837226] looking for vout display module matching "any": 7 candidates
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x48)
frame #0: 0x000000010978f1f8 VLC-tvOS`-[VLCOpenGLES2VideoView reshape] + 296
* frame #1: 0x000000010978e70c VLC-tvOS`-[VLCOpenGLES2VideoView fetchViewContainer] + 316
frame #2: 0x000000010978e4d3 VLC-tvOS`-[VLCOpenGLES2VideoView initWithFrame:andVD:] + 579
frame #3: 0x000000010978e273 VLC-tvOS`+[VLCOpenGLES2VideoView getNewView:] + 163
frame #4: 0x000000010d88f4c8 Foundation`__NSThreadPerformPerform + 331
frame #5: 0x000000010f03b191 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
frame #6: 0x000000010f03aa13 CoreFoundation`__CFRunLoopDoSources0 + 243
frame #7: 0x000000010f0350cf CoreFoundation`__CFRunLoopRun + 1231
frame #8: 0x000000010f0348b2 CoreFoundation`CFRunLoopRunSpecific + 626
frame #9: 0x0000000111a3a2fe GraphicsServices`GSEventRunModal + 65
frame #10: 0x0000000117fc25f5 UIKitCore`UIApplicationMain + 140
frame #11: 0x0000000107988d40 VLC-tvOS`main(argc=1, argv=0x00007ffee82e5120) at main.m:17:16
frame #12: 0x0000000111156771 libdyld.dylib`start + 1
(lldb)