From 3712b297c3487780d31151362b85c49ca27ff8ad Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 15 Mar 2019 15:27:01 -0600 Subject: 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. --- libhb/hb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/hb.c') diff --git a/libhb/hb.c b/libhb/hb.c index a9dc2cdc6..2032a42ee 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -630,7 +630,7 @@ hb_image_t* hb_get_preview2(hb_handle_t * h, int title_idx, int picture, geo->crop[0], geo->crop[2] ); } - int colorspace = hb_ff_get_colorspace(title->color_matrix); + int colorspace = hb_sws_get_colorspace(title->color_matrix); // Get scaling context context = hb_sws_get_context( -- cgit v1.2.3