[MPlayer-dev-eng] [PATCH] Fix unexpected flip on vo_x11

kikuchan at uranus.dti.ne.jp kikuchan at uranus.dti.ne.jp
Wed Nov 19 06:52:21 CET 2008


Hello.

I've found a bug on vo_x11 that flips video vertically sometimes,
when I play multiple video files at once.

I figured out why it happened,
because one of the video files used flip-ed codec.

Here is a simple patch.

Regards,
kikuchan


Index: vo_x11.c
===================================================================
--- vo_x11.c	(revision 27958)
+++ vo_x11.c	(working copy)
@@ -335,8 +335,7 @@
     if (flags & VOFLAG_MODESWITCHING)
         vm = 1;
 #endif
-    if (flags & VOFLAG_FLIPPING)
-        Flip_Flag = 1;
+    Flip_Flag = flags & VOFLAG_FLIPPING;
     zoomFlag = flags & VOFLAG_SWSCALE;
 
 // if(!fullscreen) zoomFlag=1; //it makes no sense to avoid zooming on windowd mode




More information about the MPlayer-dev-eng mailing list