diff options
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 7da6aed..3dbd947 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -431,6 +431,7 @@ static void pmt_cb(void *opaque, const uint8_t *section, int section_len) case STREAM_TYPE_VIDEO_H264: case STREAM_TYPE_AUDIO_AAC: case STREAM_TYPE_AUDIO_AC3: + case STREAM_TYPE_AUDIO_DTS: add_pes_stream(ts, pid, stream_type); break; default: @@ -753,6 +754,10 @@ static void mpegts_push_data(void *opaque, codec_type = CODEC_TYPE_AUDIO; codec_id = CODEC_ID_AC3; break; + case STREAM_TYPE_AUDIO_DTS: + codec_type = CODEC_TYPE_AUDIO; + codec_id = CODEC_ID_DTS; + break; default: if (code >= 0x1c0 && code <= 0x1df) { codec_type = CODEC_TYPE_AUDIO; |