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

X11: stop playling when user closes the window

parent 8fb46d38
...@@ -1464,16 +1464,12 @@ static int ManageVideo( vout_thread_t *p_vout ) ...@@ -1464,16 +1464,12 @@ static int ManageVideo( vout_thread_t *p_vout )
== p_vout->p_sys->p_win->wm_delete_window ) ) == p_vout->p_sys->p_win->wm_delete_window ) )
{ {
/* the user wants to close the window */ /* the user wants to close the window */
#if 0
playlist_t * p_playlist = pl_Yield( p_vout ); playlist_t * p_playlist = pl_Yield( p_vout );
if( p_playlist != NULL ) if( p_playlist != NULL )
{ {
playlist_Stop( p_playlist ); playlist_Stop( p_playlist );
pl_Release( p_playlist ); pl_Release( p_playlist );
} }
#else
#warning FIXME FIXME FIXME
#endif
} }
} }
......
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