summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-11-12 16:37:06 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-11-12 16:37:06 +0000
commit5bb87818b2a93491e26c32187df581a5a747d631 (patch)
tree8dd4909a2d604f33eb333189ef82004b2753dc67
parentc71fe3f75d04ceb5185a53d25747d7c3283b86fe (diff)
gst/rtp/gstrtpg729pay.c: Fix compiler warning about printf formatting.
Original commit message from CVS: * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_handle_buffer): Fix compiler warning about printf formatting.
-rw-r--r--ChangeLog5
-rw-r--r--gst/rtp/gstrtpg729pay.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 235fcd87..806cd6a4 100644
--- 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):
diff --git a/gst/rtp/gstrtpg729pay.c b/gst/rtp/gstrtpg729pay.c
index 8fd19c13..1f70ac07 100644
--- a/gst/rtp/gstrtpg729pay.c
+++ b/gst/rtp/gstrtpg729pay.c
@@ -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;
}