mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavf/mpegts: Consider stream_type 0x0f just a hint towards AAC.
It is also used in the wild to signal latm. Fixes ticket #6657.
This commit is contained in:
parent
b4b02477bd
commit
ca72cd137d
@ -814,7 +814,7 @@ static int mpegts_set_stream_info(AVStream *st, PESContext *pes,
|
|||||||
st->codecpar->codec_tag = pes->stream_type;
|
st->codecpar->codec_tag = pes->stream_type;
|
||||||
|
|
||||||
mpegts_find_stream_type(st, pes->stream_type, ISO_types);
|
mpegts_find_stream_type(st, pes->stream_type, ISO_types);
|
||||||
if (pes->stream_type == 4)
|
if (pes->stream_type == 4 || pes->stream_type == 0x0f)
|
||||||
st->request_probe = 50;
|
st->request_probe = 50;
|
||||||
if ((prog_reg_desc == AV_RL32("HDMV") ||
|
if ((prog_reg_desc == AV_RL32("HDMV") ||
|
||||||
prog_reg_desc == AV_RL32("HDPR")) &&
|
prog_reg_desc == AV_RL32("HDPR")) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user