diff options
Diffstat (limited to 'video/filter/vf_ilpack.c')
-rw-r--r-- | video/filter/vf_ilpack.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/video/filter/vf_ilpack.c b/video/filter/vf_ilpack.c index 73f816cb9e..f153a4b7d0 100644 --- a/video/filter/vf_ilpack.c +++ b/video/filter/vf_ilpack.c @@ -389,7 +389,7 @@ static int config(struct vf_instance *vf, unsigned int flags, unsigned int outfmt) { /* FIXME - also support UYVY output? */ - return vf_next_config(vf, width, height, d_width, d_height, flags, IMGFMT_YUY2); + return vf_next_config(vf, width, height, d_width, d_height, flags, IMGFMT_YUYV); } @@ -397,10 +397,8 @@ static int query_format(struct vf_instance *vf, unsigned int fmt) { /* FIXME - really any YUV 4:2:0 input format should work */ switch (fmt) { - case IMGFMT_YV12: - case IMGFMT_IYUV: - case IMGFMT_I420: - return vf_next_query_format(vf,IMGFMT_YUY2); + case IMGFMT_420P: + return vf_next_query_format(vf,IMGFMT_YUYV); } return 0; } |