summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_delogo.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_delogo.c')
-rw-r--r--video/filter/vf_delogo.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/video/filter/vf_delogo.c b/video/filter/vf_delogo.c
index f709aad4d0..346eb468f5 100644
--- a/video/filter/vf_delogo.c
+++ b/video/filter/vf_delogo.c
@@ -207,18 +207,14 @@ static void uninit(struct vf_instance *vf){
static int query_format(struct vf_instance *vf, unsigned int fmt){
switch(fmt)
{
- case IMGFMT_YV12:
- case IMGFMT_I420:
- case IMGFMT_IYUV:
+ case IMGFMT_420P:
return vf_next_query_format(vf,vf->priv->outfmt);
}
return 0;
}
static const unsigned int fmt_list[]={
- IMGFMT_YV12,
- IMGFMT_I420,
- IMGFMT_IYUV,
+ IMGFMT_420P,
0
};
@@ -306,7 +302,7 @@ static int vf_open(vf_instance_t *vf, char *args){
fix_band(vf->priv);
// check csp:
- vf->priv->outfmt=vf_match_csp(&vf->next,fmt_list,IMGFMT_YV12);
+ vf->priv->outfmt=vf_match_csp(&vf->next,fmt_list,IMGFMT_420P);
if(!vf->priv->outfmt)
{
uninit(vf);