Commit 43421386 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_extractplanes: fix 14bit format extraction

parent 4b1b47e8
......@@ -110,6 +110,10 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUVA422P9LE,
AV_PIX_FMT_YUVA444P9LE,
AV_PIX_FMT_GBRP9LE,
AV_PIX_FMT_GBRP14LE,
AV_PIX_FMT_YUV420P14LE,
AV_PIX_FMT_YUV422P14LE,
AV_PIX_FMT_YUV444P14LE,
AV_PIX_FMT_NONE,
};
static const enum AVPixelFormat in_pixfmts_be[] = {
......@@ -156,6 +160,10 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUVA422P9BE,
AV_PIX_FMT_YUVA444P9BE,
AV_PIX_FMT_GBRP9BE,
AV_PIX_FMT_GBRP14BE,
AV_PIX_FMT_YUV420P14BE,
AV_PIX_FMT_YUV422P14BE,
AV_PIX_FMT_YUV444P14BE,
AV_PIX_FMT_NONE,
};
static const enum AVPixelFormat out8_pixfmts[] = { AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment