From 3acaea26e5b63a43bb3920ad5c5c4f0139bd4025 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 10 Feb 2013 20:57:44 +0100 Subject: lavfi/il: filter out hwaccels formats from the list of supported formats --- libavfilter/vf_il.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') 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); } -- cgit v1.1