[FFmpeg-cvslog] lavfi/il: filter out hwaccels formats from the list of supported formats

Stefano Sabatini git at videolan.org
Sun Feb 10 21:04:53 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Feb 10 20:57:44 2013 +0100| [3acaea26e5b63a43bb3920ad5c5c4f0139bd4025] | committer: Stefano Sabatini

lavfi/il: filter out hwaccels formats from the list of supported formats

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

 libavfilter/vf_il.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c
index 7d39e90..44b5a3b 100644
--- a/libavfilter/vf_il.c
+++ b/libavfilter/vf_il.c
@@ -102,7 +102,7 @@ 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 & PIX_FMT_PAL))
+        if (!(desc->flags & PIX_FMT_PAL) && !(desc->flags & PIX_FMT_HWACCEL))
             ff_add_format(&formats, fmt);
     }
 



More information about the ffmpeg-cvslog mailing list