aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2019-01-17 15:01:11 +0530
committerPaul B Mahol <onemda@gmail.com>2019-01-17 11:41:18 +0100
commitf60fdbc96074a884eaa36d44946415203d3b2b79 (patch)
treedb231077ed20de6b7b16ee12f7b9bfca52bd1154
parent282a4718576d6928b6c5900db89b45d83556407a (diff)
downloadffmpeg-f60fdbc96074a884eaa36d44946415203d3b2b79.tar.gz
avfilter/extractplanes: add support for 12-bit YUVA formats
At present, 16-bit auto-scaled format results in incorrect alpha extraction.
-rw-r--r--libavfilter/vf_extractplanes.c2
1 files changed, 2 insertions, 0 deletions
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, \