diff libmpcodecs/vd_ffmpeg.c @ 5707:d0308affc401

accept I420/IYUV in query_format
author arpi
date Fri, 19 Apr 2002 23:11:30 +0000
parents 481592004427
children c63b519bd183
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Fri Apr 19 22:19:42 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Fri Apr 19 23:11:30 2002 +0000
@@ -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;
     }