summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-31 14:48:10 +0100
committerwm4 <wm4@nowhere>2017-01-31 14:48:10 +0100
commit9c12d54afa70f3535a7114498433cf566a9e9a86 (patch)
tree5d6171dc4d8ad0278fc8c051a02037ac4ceff893 /TOOLS
parent55d6408526214d8ec97aab25a20396944c6d04ad (diff)
downloadmpv-9c12d54afa70f3535a7114498433cf566a9e9a86.tar.bz2
mpv-9c12d54afa70f3535a7114498433cf566a9e9a86.tar.xz
demux_mkv: passthrough BlockAdditions for libvpx alpha
Dumb but simple thing. Requires the FFmpeg libvpx decoder wrapper, as its native decoder doesn't support alpha.
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/matroska.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/TOOLS/matroska.py b/TOOLS/matroska.py
index 4343a5f56b..5854d63951 100755
--- a/TOOLS/matroska.py
+++ b/TOOLS/matroska.py
@@ -69,6 +69,12 @@ elements_matroska = (
'BlockDuration, 9b, uint',
'ReferenceBlock*, fb, sint',
'DiscardPadding, 75A2, sint',
+ 'BlockAdditions, 75A1, sub', (
+ 'BlockMore*, A6, sub', (
+ 'BlockAddID, EE, uint',
+ 'BlockAdditional, A5, binary',
+ ),
+ ),
),
'SimpleBlock*, a3, binary',
),