[vlc-commits] packetizer: hxxx: map SMPTE 2084 to the VLC value
Steve Lhomme
git at videolan.org
Sun Dec 4 13:34:00 CET 2016
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Sun Dec 4 11:10:46 2016 +0100| [7d8c253582deb6ce2d33320163cc3d10b534eacf] | committer: Francois Cartegnie
packetizer: hxxx: map SMPTE 2084 to the VLC value
Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d8c253582deb6ce2d33320163cc3d10b534eacf
---
modules/packetizer/hxxx_nal.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/packetizer/hxxx_nal.h b/modules/packetizer/hxxx_nal.h
index 3da8cad..39823ac 100644
--- a/modules/packetizer/hxxx_nal.h
+++ b/modules/packetizer/hxxx_nal.h
@@ -112,6 +112,9 @@ hxxx_transfer_characteristics_to_vlc( enum hxxx_transfer_characteristics i_trans
case HXXX_TRANSFER_BT2020_V15:
return TRANSFER_FUNC_BT709;
+ case HXXX_TRANSFER_SMPTE_ST_2084:
+ return TRANSFER_FUNC_SMPTE_ST2084;
+
case HXXX_TRANSFER_RESERVED0:
case HXXX_TRANSFER_UNSPECIFIED:
case HXXX_TRANSFER_RESERVED3:
@@ -122,7 +125,6 @@ hxxx_transfer_characteristics_to_vlc( enum hxxx_transfer_characteristics i_trans
case HXXX_TRANSFER_IEC61966_2_4:
case HXXX_TRANSFER_BT1361:
case HXXX_TRANSFER_IEC61966_2_1:
- case HXXX_TRANSFER_SMPTE_ST_2084:
case HXXX_TRANSFER_SMPTE_ST_428:
default:
return TRANSFER_FUNC_UNDEF;
More information about the vlc-commits
mailing list