diff --git a/ChangeLog b/ChangeLog index 235fcd87e9..806cd6a45a 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 8fd19c13c4..1f70ac071b 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; }