From d666041a512947c234f222d56b7086b6893b0006 Mon Sep 17 00:00:00 2001 From: Emeric Grange Date: Wed, 15 Mar 2017 15:37:29 +0100 Subject: [PATCH] avcodecmap: Add GBR_12LE/BE and GBRA_12LE/BE pixel format mapping for CineForm decoder --- ext/libav/gstavcodecmap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c index e9a7d4f..9552f70 100644 --- a/ext/libav/gstavcodecmap.c +++ b/ext/libav/gstavcodecmap.c @@ -2687,6 +2687,10 @@ static const PixToFmt pixtofmttable[] = { {GST_VIDEO_FORMAT_GBR, AV_PIX_FMT_GBRP}, {GST_VIDEO_FORMAT_GBR_10LE, AV_PIX_FMT_GBRP10LE}, {GST_VIDEO_FORMAT_GBR_10BE, AV_PIX_FMT_GBRP10BE}, + {GST_VIDEO_FORMAT_GBR_12LE, AV_PIX_FMT_GBRP12LE}, + {GST_VIDEO_FORMAT_GBR_12BE, AV_PIX_FMT_GBRP12BE}, + {GST_VIDEO_FORMAT_GBRA_12LE, AV_PIX_FMT_GBRAP12LE}, + {GST_VIDEO_FORMAT_GBRA_12BE, AV_PIX_FMT_GBRAP12BE}, {GST_VIDEO_FORMAT_A420_10LE, AV_PIX_FMT_YUVA420P10LE}, {GST_VIDEO_FORMAT_A420_10BE, AV_PIX_FMT_YUVA420P10BE}, {GST_VIDEO_FORMAT_A422_10LE, AV_PIX_FMT_YUVA422P10LE}, -- 2.7.4