[vlc-devel] commit: X11: stop playling when user closes the window ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jul 5 17:34:34 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jul  5 18:33:34 2008 +0300| [df393e7c24609a4ea5bad28a4e7a6be9b4324ce4]

X11: stop playling when user closes the window

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df393e7c24609a4ea5bad28a4e7a6be9b4324ce4
---

 modules/video_output/x11/xcommon.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index fadb892..bc185d9 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -1464,16 +1464,12 @@ static int ManageVideo( vout_thread_t *p_vout )
                      == p_vout->p_sys->p_win->wm_delete_window ) )
         {
             /* the user wants to close the window */
-#if 0
             playlist_t * p_playlist = pl_Yield( p_vout );
             if( p_playlist != NULL )
             {
                 playlist_Stop( p_playlist );
                 pl_Release( p_playlist );
             }
-#else
-#warning FIXME FIXME FIXME
-#endif
         }
     }
 




More information about the vlc-devel mailing list