rtp: fixes debug message printf related compiler warnings in SBC depayloader
authorJosep Torra <n770galaxy@gmail.com>
Sat, 30 Mar 2013 08:44:41 +0000 (09:44 +0100)
committerJosep Torra <n770galaxy@gmail.com>
Sat, 30 Mar 2013 08:44:41 +0000 (09:44 +0100)
gst/rtp/gstrtpsbcdepay.c

index 27c7f47..64a1845 100644 (file)
@@ -183,7 +183,7 @@ gst_rtp_sbc_depay_setcaps (GstRTPBaseDepayload * base, GstCaps * caps)
   return TRUE;
 
 bad_caps:
-  GST_WARNING_OBJECT (depay, "Can't support the caps we got: "
+  GST_WARNING_OBJECT (depay, "Can't support the caps we got: %"
       GST_PTR_FORMAT, caps);
   return FALSE;
 }
@@ -202,7 +202,8 @@ gst_rtp_sbc_depay_process (GstRTPBaseDepayload * base, GstBuffer * in)
 
   gst_rtp_buffer_map (in, GST_MAP_READ, &rtp);
 
-  GST_LOG_OBJECT (depay, "Got %d bytes", gst_buffer_get_size (in));
+  GST_LOG_OBJECT (depay, "Got %" G_GUINT64_FORMAT " bytes",
+      gst_buffer_get_size (in));
 
   if (gst_rtp_buffer_get_marker (&rtp)) {
     /* Marker isn't supposed to be set */