Commit a418e6d3 authored by Rémi Duraffort's avatar Rémi Duraffort

Use PLAYLIST_PLAY instead of PLAYLIST_AUTOPLAY.

parent 438d9dee
...@@ -347,7 +347,7 @@ static void Init( intf_thread_t *p_intf ) ...@@ -347,7 +347,7 @@ static void Init( intf_thread_t *p_intf )
/* Start playing if needed */ /* Start playing if needed */
if( !p_intf->pf_show_dialog && p_intf->b_play ) if( !p_intf->pf_show_dialog && p_intf->b_play )
{ {
playlist_Control( THEPL, PLAYLIST_AUTOPLAY, VLC_FALSE ); playlist_Control( THEPL, PLAYLIST_PLAY, VLC_FALSE );
} }
/* Explain to the core how to show a dialog :D */ /* Explain to the core how to show a dialog :D */
......
...@@ -401,7 +401,7 @@ bool Instance::OnInit() ...@@ -401,7 +401,7 @@ bool Instance::OnInit()
FIND_ANYWHERE ); FIND_ANYWHERE );
if( p_playlist ) if( p_playlist )
{ {
playlist_Control( p_playlist, PLAYLIST_AUTOPLAY, VLC_FALSE ); playlist_Control( p_playlist, PLAYLIST_PLAY, VLC_FALSE );
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
} }
} }
......
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