[vlc-commits] darwinvlc: move play call to minimize time for race condition
David Fuhrmann
git at videolan.org
Sat Apr 11 16:56:19 CEST 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Apr 11 16:19:50 2015 +0200| [b5c0fe454de96a1328751a896b42daf6ee732284] | 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5c0fe454de96a1328751a896b42daf6ee732284
---
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;
More information about the vlc-commits
mailing list