aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-02-10 20:57:44 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-02-10 21:00:56 +0100
commit3acaea26e5b63a43bb3920ad5c5c4f0139bd4025 (patch)
treee1c0e079d22e907ce48dc3fa89b6973c3283ce5d
parent6b171f046c6fc6aa06e0585828a6f51ad0fd43eb (diff)
downloadffmpeg-3acaea26e5b63a43bb3920ad5c5c4f0139bd4025.tar.gz
lavfi/il: filter out hwaccels formats from the list of supported formats
-rw-r--r--libavfilter/vf_il.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c
index 7d39e9020b..44b5a3b264 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);
}