give context to dprintf
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 31 May 2009 04:45:51 +0000 (04:45 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 31 May 2009 04:45:51 +0000 (04:45 +0000)
Originally committed as revision 19020 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mpegts.c

index e60cda3..0c1ca81 100644 (file)
@@ -709,7 +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);
+                dprintf(ts->stream, "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);