Opened 14 years ago
#1781 new enhancement
tta audio in demux_mkv
Reported by: | compn | Owned by: | reimar |
---|---|---|---|
Priority: | if idle | Component: | demuxer |
Version: | HEAD | Severity: | minor |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
http://samples.mplayerhq.hu/Matroska/h264-TTA.mkv
http://samples.mplayerhq.hu/Matroska/sample_44_2_16_TTA.mka
patch should just be this (i did not test tho):
Index: demux_mkv.c
===================================================================
--- demux_mkv.c (revision 32037)
+++ demux_mkv.c (working copy)
@@ -1670,6 +1670,8 @@
track->a_formattag = mmioFOURCC('Q', 'D', 'M', '2');
else if (!strcmp(track->codec_id, MKV_A_WAVPACK))
track->a_formattag = mmioFOURCC('W', 'V', 'P', 'K');
+ else if (!strcmp(track->codec_id, MKV_A_TTA1))
+ track->a_formattag = mmioFOURCC('T', 'T', 'A', '1');
else if (!strcmp(track->codec_id, MKV_A_TRUEHD))
track->a_formattag = mmioFOURCC('T', 'R', 'H', 'D');
else if (!strcmp(track->codec_id, MKV_A_FLAC)) {