summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 8a12b620d..141980e92 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1809,6 +1809,10 @@ static int get_color_transfer(int color_trc)
return HB_COLR_TRA_SMPTE240M;
case AVCOL_TRC_SMPTEST2084:
return HB_COLR_TRA_SMPTEST2084;
+ case AVCOL_TRC_BT2020_10:
+ return HB_COLR_TRA_BT2020_10;
+ case AVCOL_TRC_BT2020_12:
+ return HB_COLR_TRA_BT2020_12;
default:
// ITU BT.601, BT.709, anything else
return HB_COLR_TRA_BT709;