# HG changeset patch # User arpi # Date 1019258016 0 # Node ID 359926d986252b7ee5fa0f33c77b16600dfadf00 # Parent 8d7c3ea85ed08b301609ec3bcb502f9b1d28ebfa workaround yv12 vs. i420 'bug' of swscale diff -r 8d7c3ea85ed0 -r 359926d98625 libvo/vo_x11.c --- 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;