Commit d09040da authored by bcoudurier's avatar bcoudurier

set codec_tag to stream type, so user can deal with it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19013 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4a8d06e6
......@@ -557,6 +557,8 @@ static AVStream *new_pes_av_stream(PESContext *pes, uint32_t prog_reg_desc, uint
dprintf(pes->stream, "stream_type=%x pid=%x prog_reg_desc=%.4s\n",
pes->stream_type, pes->pid, (char*)&prog_reg_desc);
st->codec->codec_tag = pes->stream_type;
mpegts_find_stream_type(st, pes->stream_type, ISO_types);
if (prog_reg_desc == AV_RL32("HDMV") &&
st->codec->codec_id == CODEC_ID_PROBE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment