Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-10-10 23:31:24 +0300
committerLuca Barbato <lu_zero@gentoo.org>2016-10-12 19:00:24 +0300
commitef3740c3a02bb8448bf7129e336c20846731bd1c (patch)
treec320a6b4e5511d7c5bf12da7029e7dbdd23c3b81 /libswscale
parentf59750641afdd6285bd977c450cc790bebb7693d (diff)
swscale: Enable GBRP12 output
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/output.c2
-rw-r--r--libswscale/utils.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/output.c b/libswscale/output.c
index 78ebbc6b4f..a8845f56ac 100644
--- a/libswscale/output.c
+++ b/libswscale/output.c
@@ -1455,6 +1455,8 @@ av_cold void ff_sws_init_output_funcs(SwsContext *c,
case AV_PIX_FMT_GBRP9LE:
case AV_PIX_FMT_GBRP10BE:
case AV_PIX_FMT_GBRP10LE:
+ case AV_PIX_FMT_GBRP12BE:
+ case AV_PIX_FMT_GBRP12LE:
case AV_PIX_FMT_GBRP16BE:
case AV_PIX_FMT_GBRP16LE:
case AV_PIX_FMT_GBRAP:
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 55b5275e6d..ad5518acfc 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -184,8 +184,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
[AV_PIX_FMT_GBRP9BE] = { 1, 1 },
[AV_PIX_FMT_GBRP10LE] = { 1, 1 },
[AV_PIX_FMT_GBRP10BE] = { 1, 1 },
- [AV_PIX_FMT_GBRP12LE] = { 1, 0 },
- [AV_PIX_FMT_GBRP12BE] = { 1, 0 },
+ [AV_PIX_FMT_GBRP12LE] = { 1, 1 },
+ [AV_PIX_FMT_GBRP12BE] = { 1, 1 },
[AV_PIX_FMT_GBRP16LE] = { 1, 0 },
[AV_PIX_FMT_GBRP16BE] = { 1, 0 },
[AV_PIX_FMT_GBRAP] = { 1, 1 },