summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-08-24 10:47:02 +0200
committerDamiano Galassi <[email protected]>2018-08-28 08:43:22 +0200
commit5c9ddef6b4b174fe452e8099b6c0ffb3c35c4036 (patch)
tree489ec68da720d3f366231142dc6900b16994ef7e /libhb/common.c
parentd3a3ac2bbad637fc462e5ce37bc72537f0441ea5 (diff)
Refactor the color tag code, and pass it to the FFmpeg encoders.
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index e1257c930..6b1d3e6cf 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -3743,6 +3743,10 @@ static void job_setup(hb_job_t * job, hb_title_t * title)
job->pass_id = HB_PASS_ENCODE;
job->vrate = title->vrate;
+ job->color_prim = title->color_prim;
+ job->color_transfer = title->color_transfer;
+ job->color_matrix = title->color_matrix;
+
job->mux = HB_MUX_MP4;
job->list_audio = hb_list_init();