Commit 8c6e9db2 authored by bcoudurier's avatar bcoudurier

add some useful debug info

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5881 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a5978ce4
...@@ -586,6 +586,7 @@ static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -586,6 +586,7 @@ static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
sc->esds.avg_bitrate = get_be32(pb); sc->esds.avg_bitrate = get_be32(pb);
st->codec->codec_id= codec_get_id(ff_mov_obj_type, sc->esds.object_type_id); st->codec->codec_id= codec_get_id(ff_mov_obj_type, sc->esds.object_type_id);
dprintf("esds object type id %d\n", sc->esds.object_type_id);
len = mov_mp4_read_descr(pb, &tag); len = mov_mp4_read_descr(pb, &tag);
if (tag == MP4DecSpecificDescrTag) { if (tag == MP4DecSpecificDescrTag) {
dprintf("Specific MPEG4 header len=%d\n", len); dprintf("Specific MPEG4 header len=%d\n", len);
...@@ -1056,6 +1057,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -1056,6 +1057,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
get_be32(pb); /* vendor */ get_be32(pb); /* vendor */
st->codec->channels = get_be16(pb); /* channel count */ st->codec->channels = get_be16(pb); /* channel count */
dprintf("audio channels %d\n", st->codec->channels);
st->codec->bits_per_sample = get_be16(pb); /* sample size */ st->codec->bits_per_sample = get_be16(pb); /* sample size */
/* do we need to force to 16 for AMR ? */ /* do we need to force to 16 for AMR ? */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment