summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpcodecs/vd_ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 78d7200281..8b9ce8cbfa 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -57,6 +57,8 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
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;
}