gst/rtp/gstrtptheoradepay.c: Improve debugging of the ident.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 21 May 2008 10:09:23 +0000 (10:09 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 21 May 2008 10:09:23 +0000 (10:09 +0000)
Original commit message from CVS:
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_process):
Improve debugging of the ident.

ChangeLog
gst/rtp/gstrtptheoradepay.c

index 31ca7e4..86dec22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
 
+       * gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_process):
+       Improve debugging of the ident.
+
+2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
+
        Patch by: Bruno Santos <brunof at ua dot pt>
 
        * gst/udp/gstudpnetutils.c: (gst_udp_get_addr),
index 5ae6f81..e3c229e 100644 (file)
@@ -475,6 +475,9 @@ gst_rtp_theora_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
   F = (header & 0xc0) >> 6;
   packets = (header & 0xf);
 
+  GST_DEBUG_OBJECT (depayload, "ident: 0x%08x, F: %d, TDT: %d, packets: %d",
+      ident, F, TDT, packets);
+
   if (TDT == 0) {
     gboolean do_switch = FALSE;
 
@@ -497,9 +500,6 @@ gst_rtp_theora_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
   payload += 4;
   payload_len -= 4;
 
-  GST_DEBUG_OBJECT (depayload, "ident: %u, F: %d, TDT: %d, packets: %d", ident,
-      F, TDT, packets);
-
   /* fragmented packets, assemble */
   if (F != 0) {
     GstBuffer *vdata;