changeset 1215:eee822269f39 libavformat

add some useful debug info
author bcoudurier
date Tue, 01 Aug 2006 13:43:24 +0000
parents 4dbf4b5e675d
children fec0a3d5408f
files mov.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Tue Aug 01 10:19:25 2006 +0000
+++ b/mov.c	Tue Aug 01 13:43:24 2006 +0000
@@ -586,6 +586,7 @@
         sc->esds.avg_bitrate = get_be32(pb);
 
         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);
         if (tag == MP4DecSpecificDescrTag) {
             dprintf("Specific MPEG4 header len=%d\n", len);
@@ -1056,6 +1057,7 @@
             get_be32(pb); /* vendor */
 
             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 */
             /* do we need to force to 16 for AMR ? */