From: Damiano Galassi Date: Thu, 14 Feb 2019 13:22:58 +0000 (+0100) Subject: libhb: enable SWS_CS_BT2020 matrix. X-Git-Tag: 1.2.1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92f9a581f6aab535513af5c5d5e6f73e8bbcdb3a;p=handbrake libhb: enable SWS_CS_BT2020 matrix. (cherry picked from commit 54140f90ecb0e9e2ccb312bde22e64133518ed9b) --- diff --git a/libhb/hbffmpeg.c b/libhb/hbffmpeg.c index 5b0a7c24d..eff7623f9 100644 --- a/libhb/hbffmpeg.c +++ b/libhb/hbffmpeg.c @@ -160,11 +160,10 @@ int hb_ff_get_colorspace(int color_matrix) case HB_COLR_MAT_BT709: color_space = SWS_CS_ITU709; break; - /* enable this when implemented in FFmpeg - case HB_COLR_MAT_BT2020: + case HB_COLR_MAT_BT2020_CL: + case HB_COLR_MAT_BT2020_NCL: color_space = SWS_CS_BT2020; break; - */ default: break; }