Commit 4d50ccca authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

VLC: start the playlist at start

parent a62595b9
...@@ -127,6 +127,7 @@ int main( int i_argc, const char *ppsz_argv[] ) ...@@ -127,6 +127,7 @@ int main( int i_argc, const char *ppsz_argv[] )
{ {
libvlc_add_intf (vlc, "signals", NULL); libvlc_add_intf (vlc, "signals", NULL);
libvlc_add_intf (vlc, NULL, &ex); libvlc_add_intf (vlc, NULL, &ex);
libvlc_playlist_play (vlc, -1, 0, NULL, NULL);
libvlc_wait (vlc); libvlc_wait (vlc);
libvlc_release (vlc); libvlc_release (vlc);
} }
......
...@@ -111,6 +111,7 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, ...@@ -111,6 +111,7 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
if (vlc != NULL) if (vlc != NULL)
{ {
libvlc_add_intf (vlc, NULL, &ex); libvlc_add_intf (vlc, NULL, &ex);
libvlc_playlist_play (vlc, -1, 0, NULL, NULL);
libvlc_wait (vlc); libvlc_wait (vlc);
libvlc_release (vlc); libvlc_release (vlc);
} }
......
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