changeset 5709:359926d98625

workaround yv12 vs. i420 'bug' of swscale
author arpi
date Fri, 19 Apr 2002 23:13:36 +0000
parents 8d7c3ea85ed0
children b21cc9652f46
files libvo/vo_x11.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Fri Apr 19 23:12:32 2002 +0000
+++ b/libvo/vo_x11.c	Fri Apr 19 23:13:36 2002 +0000
@@ -250,6 +250,7 @@
     title = strdup("MPlayer X11 (XImage/Shm) render");
 
  in_format=format;
+ if(in_format==IMGFMT_I420 || in_format==IMGFMT_IYUV) in_format=IMGFMT_YV12;
  srcW= width;
  srcH= height;