gst/rtp/gstrtpg729pay.c: Fix compiler warning about printf formatting.
authorJan Schmidt <thaytan@mad.scientist.com>
Wed, 12 Nov 2008 16:37:06 +0000 (16:37 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Wed, 12 Nov 2008 16:37:06 +0000 (16:37 +0000)
Original commit message from CVS:
* gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_handle_buffer):
Fix compiler warning about printf formatting.

ChangeLog
gst/rtp/gstrtpg729pay.c

index 235fcd8..806cd6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-12  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_handle_buffer):
+       Fix compiler warning about printf formatting.
+
 2008-11-12  Andy Wingo  <wingo@pobox.com>
 
        * gst/qtdemux/qtdemux.h (struct _GstQTDemux):
index 8fd19c1..1f70ac0 100644 (file)
@@ -173,8 +173,8 @@ gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
         (int) (ptime_ms / G729_FRAME_DURATION_MS);
 
     if (maxptime_octets < G729_FRAME_SIZE) {
-      GST_WARNING_OBJECT (basertpaudiopayload, "Given ptime %d is smaller than"
-          " minimum %d ns, overwriting to minimum",
+      GST_WARNING_OBJECT (basertpaudiopayload, "Given ptime %" G_GINT64_FORMAT
+          " is smaller than minimum %d ns, overwriting to minimum",
           payload->max_ptime, G729_FRAME_DURATION_MS);
       maxptime_octets = G729_FRAME_SIZE;
     }