diff options
author | Damiano Galassi <[email protected]> | 2016-11-25 11:42:01 +0100 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-12-21 01:16:29 -0500 |
commit | a920bf446a6fe5eba43656ed3807e25ee4691a4e (patch) | |
tree | e52aa3dc2b346293038dd18894bddcbe605d5d61 /libhb/encx265.c | |
parent | 71079db99f4c2b02d45d229bee84907fb814de0b (diff) |
libhb: add new color tags for Bt 2020 and SMPTE ST 2084
Diffstat (limited to 'libhb/encx265.c')
-rw-r--r-- | libhb/encx265.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c index 016a2248c..6c22a3d12 100644 --- a/libhb/encx265.c +++ b/libhb/encx265.c @@ -174,7 +174,12 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job) strcpy(transfer, "bt709"); strcpy(colormatrix, "bt709"); break; - case 4: // custom + case 4: // ITU BT.2020 UHD content + strcpy(colorprim, "bt2020"); + strcpy(transfer, "bt709"); + strcpy(colormatrix, "bt2020nc"); + break; + case 5: // custom snprintf(colorprim, sizeof(colorprim), "%d", job->color_prim); snprintf(transfer, sizeof(transfer), "%d", job->color_transfer); snprintf(colormatrix, sizeof(colormatrix), "%d", job->color_matrix); |