diff options
author | John Stebbins <[email protected]> | 2019-03-15 15:27:01 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-08 07:44:09 -0600 |
commit | 3712b297c3487780d31151362b85c49ca27ff8ad (patch) | |
tree | 71f449d83c224bc2ff5cad824560c2730759540e /libhb/scan.c | |
parent | 248c880fc86ee07d23d62135e002940f16364eb6 (diff) |
libhb: propagate color matrix info through the pipeline
Propagates pix_fmt, range, primaries, transfer, and matrix everywhere.
Everything that passes or creates video frames tags the frames with
their color matrix info.
All filters know the expected color matrix info of input frames.
Diffstat (limited to 'libhb/scan.c')
-rw-r--r-- | libhb/scan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c index 74a5add7b..640ffdddb 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -1005,9 +1005,11 @@ skip_preview: { title->geometry.par = vid_info.geometry.par; } + title->pix_fmt = vid_info.pix_fmt; title->color_prim = vid_info.color_prim; title->color_transfer = vid_info.color_transfer; title->color_matrix = vid_info.color_matrix; + title->color_range = vid_info.color_range; title->video_decode_support = vid_info.video_decode_support; |