Mercurial > libavformat.hg
changeset 4988:ba58d4eaca58 libavformat
set codec_tag to stream type, so user can deal with it
author | bcoudurier |
---|---|
date | Sun, 31 May 2009 04:10:15 +0000 |
parents | 62bf51efe6ec |
children | 7cd258a049b1 |
files | mpegts.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegts.c Sun May 31 04:04:20 2009 +0000 +++ b/mpegts.c Sun May 31 04:10:15 2009 +0000 @@ -557,6 +557,8 @@ 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)