From f60fdbc96074a884eaa36d44946415203d3b2b79 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Thu, 17 Jan 2019 15:01:11 +0530 Subject: [PATCH] avfilter/extractplanes: add support for 12-bit YUVA formats At present, 16-bit auto-scaled format results in incorrect alpha extraction. --- libavfilter/vf_extractplanes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c index f9171572ed..739c2420cb 100644 --- a/libavfilter/vf_extractplanes.c +++ b/libavfilter/vf_extractplanes.c @@ -99,6 +99,8 @@ AVFILTER_DEFINE_CLASS(extractplanes); AV_PIX_FMT_YUV422P12##suf, \ AV_PIX_FMT_YUV444P12##suf, \ AV_PIX_FMT_YUV440P12##suf, \ + AV_PIX_FMT_YUVA422P12##suf, \ + AV_PIX_FMT_YUVA444P12##suf, \ AV_PIX_FMT_GBRP10##suf, AV_PIX_FMT_GBRAP10##suf, \ AV_PIX_FMT_GBRP12##suf, AV_PIX_FMT_GBRAP12##suf, \ AV_PIX_FMT_YUV420P9##suf, \