diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2012-01-10 08:59:30 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2012-01-10 08:59:30 +0400 |
commit | d5c82aaa65a28790ff1c44c42866fce0e3f92bf2 (patch) | |
tree | 300da3938ee2f63287275f9d0f4163497e7391d0 /src/filters/parser/MP4Splitter/AP4 | |
parent | 84724ac06df67f76db59523cc97cd385de1515bf (diff) |
Add : MP4/MOV Splitter support DTS audio track, ticket #1951; Track type for some stream;
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3953 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/MP4Splitter/AP4')
-rw-r--r-- | src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.cpp | 4 | ||||
-rw-r--r-- | src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.cpp b/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.cpp index c2a1bbcb1..2c0a166f4 100644 --- a/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.cpp +++ b/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.cpp @@ -260,6 +260,10 @@ AP4_MpegSampleDescription::GetObjectTypeString(OTI oti) case AP4_MPEG1_VISUAL_OTI: return "MPEG-1 Video"; case AP4_MPEG1_AUDIO_OTI: return "MPEG-1 Audio"; case AP4_JPEG_OTI: return "JPEG"; + case AP4_DTSC_AUDIO_OTI: return "DTS audio"; + case AP4_DTSH_AUDIO_OTI: return "DTS-HD High Resolution Audio"; + case AP4_DTSL_AUDIO_OTI: return "DTS-HD Master Audio"; + case AP4_NERO_VOBSUB: return "VobSub Subtitle"; default: return "UNKNOWN"; } } diff --git a/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.h b/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.h index 1097f7b78..9c8ff710d 100644 --- a/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.h +++ b/src/filters/parser/MP4Splitter/AP4/Core/Ap4SampleDescription.h @@ -246,6 +246,10 @@ const AP4_MpegSampleDescription::OTI AP4_MPEG1_VISUAL_OTI = 0x6A; const AP4_MpegSampleDescription::OTI AP4_MPEG1_AUDIO_OTI = 0x6B;
const AP4_MpegSampleDescription::OTI AP4_JPEG_OTI = 0x6C;
+const AP4_MpegSampleDescription::OTI AP4_DTSC_AUDIO_OTI = 0xA9;
+const AP4_MpegSampleDescription::OTI AP4_DTSH_AUDIO_OTI = 0xAA;
+const AP4_MpegSampleDescription::OTI AP4_DTSL_AUDIO_OTI = 0xAB;
+
const AP4_MpegSampleDescription::OTI AP4_NERO_VOBSUB = 0xE0;
#endif // _AP4_SAMPLE_DESCRIPTION_H_
|