]> granicus.if.org Git - handbrake/commitdiff
libhb: enable SWS_CS_BT2020 matrix.
authorDamiano Galassi <damiog@gmail.com>
Thu, 14 Feb 2019 13:22:58 +0000 (14:22 +0100)
committerBradley Sepos <bradley@bradleysepos.com>
Fri, 15 Feb 2019 22:53:01 +0000 (17:53 -0500)
(cherry picked from commit 54140f90ecb0e9e2ccb312bde22e64133518ed9b)

libhb/hbffmpeg.c

index 5b0a7c24d66bb3065b763a70c46334299ebcb999..eff7623f95ca0f7362e83266716e2023e1e407e3 100644 (file)
@@ -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;
     }