Browse Source

print reg desc in a more friendly way

Originally committed as revision 19021 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Baptiste Coudurier 16 years ago
parent
commit
1f07654330
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpegts.c

+ 1
- 1
libavformat/mpegts.c View File

@@ -709,7 +709,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
break; break;
case 0x05: /* registration descriptor */ case 0x05: /* registration descriptor */
st->codec->codec_tag = bytestream_get_le32(&p); 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 && if (st->codec->codec_id == CODEC_ID_PROBE &&
stream_type == STREAM_TYPE_PRIVATE_DATA) stream_type == STREAM_TYPE_PRIVATE_DATA)
mpegts_find_stream_type(st, st->codec->codec_tag, REGD_types); mpegts_find_stream_type(st, st->codec->codec_tag, REGD_types);


Loading…
Cancel
Save