From fc72ad1990f011c703ef245ce91138c143c317bb Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sun, 31 May 2009 04:41:47 +0000 Subject: [PATCH] print registration descriptor in debug Originally committed as revision 19019 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpegts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 2800827cfc..e60cda3eb7 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -709,6 +709,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len break; case 0x05: /* registration descriptor */ st->codec->codec_tag = bytestream_get_le32(&p); + dprintf("reg_desc=%x\n", 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);