summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-03-15 15:27:01 -0600
committerJohn Stebbins <[email protected]>2019-04-08 07:44:09 -0600
commit3712b297c3487780d31151362b85c49ca27ff8ad (patch)
tree71f449d83c224bc2ff5cad824560c2730759540e /libhb/scan.c
parent248c880fc86ee07d23d62135e002940f16364eb6 (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.c2
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;