Log aac details found in codec_data.
authorStefan Kost <ensonic@users.sf.net>
Fri, 23 Jan 2009 14:00:10 +0000 (16:00 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:06:56 +0000 (18:06 +0100)
gst/aacparse/gstaacparse.c

index 22108e9..1534812 100644 (file)
@@ -272,6 +272,9 @@ gst_aacparse_sink_setcaps (GstBaseParse * parse, GstCaps * caps)
       aacparse->channels = (buffer[1] & 0x78) >> 3;
       aacparse->header_type = DSPAAC_HEADER_NONE;
       aacparse->mpegversion = 4;
+
+      GST_DEBUG ("codec_data: object_type=%d, sample_rate=%d, channels=%d",
+          aacparse->object_type, aacparse->sample_rate, aacparse->channels);
     } else
       return FALSE;
   }