[FFmpeg-cvslog] r19013 - trunk/libavformat/mpegts.c

bcoudurier subversion
Sun May 31 06:10:15 CEST 2009


Author: bcoudurier
Date: Sun May 31 06:10:15 2009
New Revision: 19013

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

Modified:
   trunk/libavformat/mpegts.c

Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c	Sun May 31 06:04:20 2009	(r19012)
+++ trunk/libavformat/mpegts.c	Sun May 31 06:10:15 2009	(r19013)
@@ -557,6 +557,8 @@ static AVStream *new_pes_av_stream(PESCo
     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)



More information about the ffmpeg-cvslog mailing list