[FFmpeg-cvslog] lavfi/telecine: remove bitstream and pal formats

Paul B Mahol git at videolan.org
Fri Sep 6 20:49:28 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Sep  6 18:45:27 2013 +0000| [50b90d5e0ba01d8b57f08ca7a680fe8bf1b7e28b] | committer: Paul B Mahol

lavfi/telecine: remove bitstream and pal formats

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50b90d5e0ba01d8b57f08ca7a680fe8bf1b7e28b
---

 libavfilter/vf_telecine.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c
index 6e14548..931d6ba 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);
     }
 



More information about the ffmpeg-cvslog mailing list