diff options
author | Damiano Galassi <[email protected]> | 2021-01-24 17:16:19 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2021-01-24 17:16:19 +0100 |
commit | 0ec5e726dce7603f8389fa770d67db323167df80 (patch) | |
tree | a26cb3facb607a30bd4d92254a9bb4a4420ad05b /libhb/work.c | |
parent | 781749e9634b7fd4468d1c456c0059f80c06a404 (diff) |
libhb: change the color-matrix cli option behavior. Set the color info at the begin of the pipeline. Fix a typo in the preset key that prevented it from working.
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/work.c b/libhb/work.c index 28ccebcbf..ab068173f 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -1456,9 +1456,9 @@ static void do_job(hb_job_t *job) init.pix_fmt = get_best_pix_ftm(job); init.color_range = AVCOL_RANGE_MPEG; - init.color_prim = title->color_prim; - init.color_transfer = title->color_transfer; - init.color_matrix = title->color_matrix; + init.color_prim = job->color_prim; + init.color_transfer = job->color_transfer; + init.color_matrix = job->color_matrix; init.geometry.width = title->geometry.width; init.geometry.height = title->geometry.height; |