Index: ext/amrnb/amrnbdec.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-ugly/ext/amrnb/amrnbdec.c,v
retrieving revision 1.20
diff -u -p -r1.20 amrnbdec.c
--- ext/amrnb/amrnbdec.c	13 Jun 2008 06:57:19 -0000	1.20
+++ ext/amrnb/amrnbdec.c	28 Aug 2008 09:36:14 -0000
@@ -244,6 +244,10 @@ gst_amrnbdec_chain (GstPad * pad, GstBuf
 
   amrnbdec = GST_AMRNBDEC (gst_pad_get_parent (pad));
 
+  GST_DEBUG ("Incoming buffer time: %"GST_TIME_FORMAT" duration: %"GST_TIME_FORMAT,
+	     GST_TIME_ARGS(GST_BUFFER_TIMESTAMP(buffer)),
+	     GST_TIME_ARGS(GST_BUFFER_DURATION(buffer)));
+  
   if (amrnbdec->rate == 0 || amrnbdec->channels == 0)
     goto not_negotiated;
 
@@ -306,6 +310,10 @@ gst_amrnbdec_chain (GstPad * pad, GstBuf
         (short *) GST_BUFFER_DATA (out), 0);
     g_free (data);
 
+    GST_DEBUG ("pushing out buffer time: %"GST_TIME_FORMAT" duration: %"GST_TIME_FORMAT,
+	       GST_TIME_ARGS(GST_BUFFER_TIMESTAMP(out)),
+	       GST_TIME_ARGS(GST_BUFFER_DURATION(out)));
+
     /* send out */
     ret = gst_pad_push (amrnbdec->srcpad, out);
   }
