diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-02-10 20:57:44 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-02-10 21:00:56 +0100 |
commit | 3acaea26e5b63a43bb3920ad5c5c4f0139bd4025 (patch) | |
tree | e1c0e079d22e907ce48dc3fa89b6973c3283ce5d | |
parent | 6b171f046c6fc6aa06e0585828a6f51ad0fd43eb (diff) | |
download | ffmpeg-streaming-3acaea26e5b63a43bb3920ad5c5c4f0139bd4025.zip ffmpeg-streaming-3acaea26e5b63a43bb3920ad5c5c4f0139bd4025.tar.gz |
lavfi/il: filter out hwaccels formats from the list of supported formats
-rw-r--r-- | libavfilter/vf_il.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |