diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-06 18:45:27 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-09-06 18:45:27 +0000 |
commit | 50b90d5e0ba01d8b57f08ca7a680fe8bf1b7e28b (patch) | |
tree | 161aec5b83e4e88584127fc7b58b271fa5cb8e76 /libavfilter/vf_telecine.c | |
parent | 6770fa4df8e1e11c2d76e6b2ebb30d66f5d0bf3f (diff) | |
download | ffmpeg-50b90d5e0ba01d8b57f08ca7a680fe8bf1b7e28b.tar.gz |
lavfi/telecine: remove bitstream and pal formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_telecine.c')
-rw-r--r-- | libavfilter/vf_telecine.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c index 6e14548ca5..931d6ba8bf 100644 --- a/libavfilter/vf_telecine.c +++ b/libavfilter/vf_telecine.c @@ -103,7 +103,9 @@ static int query_formats(AVFilterContext *ctx) for (fmt = 0; fmt < AV_PIX_FMT_NB; fmt++) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt); - if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL)) + if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL || + desc->flags & AV_PIX_FMT_FLAG_PAL || + desc->flags & AV_PIX_FMT_FLAG_BITSTREAM)) ff_add_format(&pix_fmts, fmt); } |