From 416bd7529c848fef0170d219691a70f1a81f7a47 Mon Sep 17 00:00:00 2001 From: Vignesh Venkatasubramanian Date: Mon, 1 Apr 2013 15:36:29 -0700 Subject: [PATCH] Adding/Uncommenting elements for Alpha Support Uncommenting Track elements related to BlockAdditional and adding the new AlphaMode element as specified in the matroska spec here: http://matroska.org/technical/specs/index.html#AlphaMode Change-Id: I87895931e8885e4832efa74776ab1bea91a634e2 --- libmkv/EbmlIDs.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libmkv/EbmlIDs.h b/libmkv/EbmlIDs.h index 4920bf9ba..44d438583 100644 --- a/libmkv/EbmlIDs.h +++ b/libmkv/EbmlIDs.h @@ -67,10 +67,10 @@ enum mkv { BlockGroup = 0xA0, Block = 0xA1, /* BlockVirtual = 0xA2, */ -/* BlockAdditions = 0x75A1, */ -/* BlockMore = 0xA6, */ -/* BlockAddID = 0xEE, */ -/* BlockAdditional = 0xA5, */ + BlockAdditions = 0x75A1, + BlockMore = 0xA6, + BlockAddID = 0xEE, + BlockAdditional = 0xA5, BlockDuration = 0x9B, /* ReferencePriority = 0xFA, */ ReferenceBlock = 0xFB, @@ -100,7 +100,7 @@ enum mkv { DefaultDuration = 0x23E383, /* TrackTimecodeScale = 0x23314F, */ /* TrackOffset = 0x537F, */ -/* MaxBlockAdditionID = 0x55EE, */ + MaxBlockAdditionID = 0x55EE, Name = 0x536E, Language = 0x22B59C, CodecID = 0x86, @@ -120,6 +120,7 @@ enum mkv { Video = 0xE0, FlagInterlaced = 0x9A, StereoMode = 0x53B8, + AlphaMode = 0x53C0, PixelWidth = 0xB0, PixelHeight = 0xBA, PixelCropBottom = 0x54AA,