[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.15,1.16
Arpi of Ize
arpi at mplayerhq.hu
Sat Apr 20 01:11:39 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv1484
Modified Files:
vd_ffmpeg.c
Log Message:
accept I420/IYUV in query_format
Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- vd_ffmpeg.c 14 Apr 2002 01:21:13 -0000 1.15
+++ vd_ffmpeg.c 19 Apr 2002 23:11:30 -0000 1.16
@@ -57,6 +57,8 @@
switch(cmd){
case VDCTRL_QUERY_FORMAT:
if( (*((int*)arg)) == IMGFMT_YV12 ) return CONTROL_TRUE;
+ if( (*((int*)arg)) == IMGFMT_IYUV ) return CONTROL_TRUE;
+ if( (*((int*)arg)) == IMGFMT_I420 ) return CONTROL_TRUE;
if( (*((int*)arg)) == IMGFMT_YUY2 && ctx->yuy2_support ) return CONTROL_TRUE;
return CONTROL_FALSE;
}
More information about the MPlayer-cvslog
mailing list