Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-06-13 13:39:02 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-06-13 13:39:02 +0400
commitfb65d34056286e45b3546534d095a1daa30e60f5 (patch)
tree0dfead361b0ddfa214c1b740846991cd7f829193 /demuxer
parent8353f4ff5c8e7432a2fedf63979f5485beb7e0a6 (diff)
Define subtype for S302M AES3
This will allow decoding S302M AES3 audio from other splitters (eg. DVBViewer will export it using the FourCC in the future)
Diffstat (limited to 'demuxer')
-rw-r--r--demuxer/Demuxers/LAVFAudioHelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/demuxer/Demuxers/LAVFAudioHelper.cpp b/demuxer/Demuxers/LAVFAudioHelper.cpp
index 9b252529..5c0b46ba 100644
--- a/demuxer/Demuxers/LAVFAudioHelper.cpp
+++ b/demuxer/Demuxers/LAVFAudioHelper.cpp
@@ -70,6 +70,7 @@ static FormatMapping audio_map[] = {
{ AV_CODEC_ID_ADPCM_MS, &MEDIASUBTYPE_ADPCM_MS, WAVE_FORMAT_ADPCM, NULL },
{ AV_CODEC_ID_TRUESPEECH, &MEDIASUBTYPE_TRUESPEECH, WAVE_FORMAT_DSPGROUP_TRUESPEECH, NULL },
{ AV_CODEC_ID_TAK, &MEDIASUBTYPE_TAK, NULL, NULL },
+ { AV_CODEC_ID_S302M, &MEDIASUBTYPE_AES3, NULL, NULL },
};
CMediaType CLAVFAudioHelper::initAudioType(AVCodecID codecId, unsigned int &codecTag, std::string container)