Commit b5c0fe45 authored by David Fuhrmann's avatar David Fuhrmann

darwinvlc: move play call to minimize time for race condition

This is still racy, but it should reduce the time between playlist
and interface start.
parent d9b6b884
......@@ -221,10 +221,9 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_set_app_id (vlc, "org.VideoLAN.VLC", PACKAGE_VERSION, PACKAGE_NAME);
libvlc_set_user_agent (vlc, "VLC media player", "VLC/"PACKAGE_VERSION);
libvlc_playlist_play (vlc, -1, 0, NULL);
libvlc_add_intf (vlc, "hotkeys,none");
libvlc_playlist_play (vlc, -1, 0, NULL);
if (libvlc_add_intf (vlc, NULL))
goto out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment