mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
libdts support by (Benjamin Zores <ben at geexbox dot org>)
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user