]> git.sesse.net Git - vlc/commitdiff
* modules/video_output/x11/xcommon.c: fixed a bug with fullscreen and sawfish.
authorGildas Bazin <gbazin@videolan.org>
Wed, 13 Aug 2003 18:39:53 +0000 (18:39 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 13 Aug 2003 18:39:53 +0000 (18:39 +0000)
* modules/codec/ffmpeg/video.c: forgot a debug message.

modules/codec/ffmpeg/video.c
modules/video_output/x11/xcommon.c

index 265b62236f68404d2714cf90811b2f99c465c720..450138fa4ae7b47464816067fdf995a1b6d526e9 100644 (file)
@@ -2,7 +2,7 @@
  * video.c: video decoder using ffmpeg library
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: video.c,v 1.39 2003/08/12 17:01:35 gbazin Exp $
+ * $Id: video.c,v 1.40 2003/08/13 18:39:53 gbazin Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -597,7 +597,6 @@ usenextdata:
           p_vdec->p_ff_pic->pict_type == FF_B_TYPE ) )
     {
         p_vdec->pts = p_vdec->p_ff_pic->pts;
-msg_Err( p_vdec->p_fifo, "new pts: "I64Fd, p_vdec->pts );
     }
 
     if( p_vdec->pts <= 0 )
index 00693cdaabddb408a289d5c50033b74c45a755db..b2a8bcb4a767d7382a76a9a08509ed2555f18813 100644 (file)
@@ -2,7 +2,7 @@
  * xcommon.c: Functions common to the X11 and XVideo plugins
  *****************************************************************************
  * Copyright (C) 1998-2001 VideoLAN
- * $Id: xcommon.c,v 1.28 2003/08/03 23:11:21 gbazin Exp $
+ * $Id: xcommon.c,v 1.29 2003/08/13 18:39:52 gbazin Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -1484,14 +1484,12 @@ static void ToggleFullScreen ( vout_thread_t *p_vout )
                         False, SubstructureRedirectMask,
                         (XEvent*)&event );
         }
-        else
-        {
-            /* Make sure the change is effective */
-            XReparentWindow( p_vout->p_sys->p_display,
-                             p_vout->p_sys->p_win->base_window,
-                             DefaultRootWindow( p_vout->p_sys->p_display ),
-                             0, 0 );
-        }
+
+        /* Make sure the change is effective */
+        XReparentWindow( p_vout->p_sys->p_display,
+                         p_vout->p_sys->p_win->base_window,
+                         DefaultRootWindow( p_vout->p_sys->p_display ),
+                         0, 0 );
 
         /* fullscreen window size and position */
         p_vout->p_sys->p_win->i_width =