Interface is not ready when playlist is about to start
While starting VLC on command line with a file name as parameter, it can be noticed that sometimes the video is about to start while the interface is not fully initialized yet (VLCIntf is null).
Video initialization fails, and the video playback is restarted. This can lead to a noticable distortion to the user as the audio already starts playing, and then the whole file is restarted.
Log:
Davids-MacBook-Pro:build dfuhrmann$ VLC-dev.app/Contents/MacOS/VLC -v /Users/dfuhrmann/Dropbox/Marvel.S01E18.mkv
VLC media player 2.2.0-git Weatherwax (revision 2.1.0-git-3450-g3def03c)
[0000000100500768] core libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[0000000100576888] mkv demux warning: MKV/Ebml Parser: m_el[mi_level] == NULL
[0000000100576888] mkv demux warning: MKV/Ebml Parser: Up cannot escape itself
[000000010066dc38] macosx window error: Mac OS X interface not found
2014-06-08 10:07:51.485 VLC[3332:12f1b] no main intf
[0000000100389978] macosx vout display error: No drawable-nsobject nor vout_window_t found, passing over.
[000000010182aab8] core video output error: video output creation failed
[00000001020132b8] core decoder error: failed to create video output
[00000001020132b8] core decoder warning: can't get output picture
[00000001020132b8] avcodec decoder warning: disabling direct rendering
2014-06-08 10:07:51.514 VLC[3332:507] main shared window init
2014-06-08 10:07:51.514 VLC[3332:507] intf was set
[000000010060bc48] core audio output warning: playback too late (89405): up-sampling
shader program 1: WARNING: Output of vertex shader 'TexCoord1' not read by fragment shader
WARNING: Output of vertex shader 'TexCoord2' not read by fragment shader
[00000001020132b8] core decoder warning: can't get output picture
2014-06-08 10:07:52.145 VLC[3332:507] call playlist item changed, having current input 0x100576ad8
2014-06-08 10:07:52.146 VLC[3332:507] new current input: 0x100576ad8
2014-06-08 10:07:52.147 VLC[3332:507] updateing stuff
[000000010060bc48] macosx audio output warning: variable stereo-mode doesn't exist or isn't handled
2014-06-08 10:07:52.164 VLC[3332:507] call playlist item changed, having current input 0x100576ad8
2014-06-08 10:07:52.164 VLC[3332:507] updateing stuff
[000000010060bc48] macosx audio output warning: variable stereo-mode doesn't exist or isn't handled
[00000001005b3298] mkv demux warning: MKV/Ebml Parser: m_el[mi_level] == NULL
[00000001005b3298] mkv demux warning: MKV/Ebml Parser: Up cannot escape itself
Edited by David