From 5bb87818b2a93491e26c32187df581a5a747d631 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 12 Nov 2008 16:37:06 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst/rtp/gstrtpg729pay.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 235fcd8..806cd6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-12 Jan Schmidt + + * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_handle_buffer): + Fix compiler warning about printf formatting. + 2008-11-12 Andy Wingo * gst/qtdemux/qtdemux.h (struct _GstQTDemux): diff --git a/gst/rtp/gstrtpg729pay.c b/gst/rtp/gstrtpg729pay.c index 8fd19c1..1f70ac0 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; } -- 2.7.4