vlc/vlc-2.2 | branch: master | David Fuhrmann <[email protected]> | Sat Apr 11 16:19:50 2015 +0200| [033a61377aabb172469e8edb6268f17fe37fe116] | committer: 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. (cherry picked from commit b5c0fe454de96a1328751a896b42daf6ee732284) Signed-off-by: David Fuhrmann <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=033a61377aabb172469e8edb6268f17fe37fe116 --- bin/darwinvlc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/darwinvlc.c b/bin/darwinvlc.c index fbad415..1841aca 100644 --- a/bin/darwinvlc.c +++ b/bin/darwinvlc.c @@ -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; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
