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

bcoudurier subversion
Sun May 31 06:47:30 CEST 2009


Author: bcoudurier
Date: Sun May 31 06:47:30 2009
New Revision: 19021

Log:
print reg desc in a more friendly way

Modified:
   trunk/libavformat/mpegts.c

Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c	Sun May 31 06:45:51 2009	(r19020)
+++ trunk/libavformat/mpegts.c	Sun May 31 06:47:30 2009	(r19021)
@@ -709,7 +709,7 @@ static void pmt_cb(MpegTSFilter *filter,
                 break;
             case 0x05: /* registration descriptor */
                 st->codec->codec_tag = bytestream_get_le32(&p);
-                dprintf(ts->stream, "reg_desc=%x\n", st->codec->codec_tag);
+                dprintf(ts->stream, "reg_desc=%.4s\n", (char*)&st->codec->codec_tag);
                 if (st->codec->codec_id == CODEC_ID_PROBE &&
                     stream_type == STREAM_TYPE_PRIVATE_DATA)
                     mpegts_find_stream_type(st, st->codec->codec_tag, REGD_types);



More information about the ffmpeg-cvslog mailing list