aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Cordes <peter@cordes.ca>2015-03-04 03:35:36 -0400
committerMichael Niedermayer <michaelni@gmx.at>2015-05-31 13:58:50 +0200
commit6590acf0fd0b78667487b2a1c09ca03e7868ac9f (patch)
treea33e1893a231d9a852cc03e6d84319abeae3f930
parent50f112c91535b2f1fca1f5e96aa434a08af54633 (diff)
downloadffmpeg-6590acf0fd0b78667487b2a1c09ca03e7868ac9f.tar.gz
avfilter/vf_mpdecimate: support more pixel formats, including GBRP
Add some planar formats we can handle without distorting the meaning of hi and lo. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vf_mpdecimate.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index 429121d33d..cb3e69fd92 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -162,6 +162,15 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P,
AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ440P,
AV_PIX_FMT_YUVA420P,
+
+ AV_PIX_FMT_GRAY8A,
+ AV_PIX_FMT_YA8,
+
+ AV_PIX_FMT_GBRP,
+
+ AV_PIX_FMT_YUVA444P,
+ AV_PIX_FMT_YUVA422P,
+
AV_PIX_FMT_NONE
};
AVFilterFormats *fmts_list = ff_make_format_list(pix_fmts);