From 8ce409bd328ccb8d150ef406c407785ef4ff6e67 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 17 Nov 2008 19:47:32 +0000 Subject: [PATCH] gst/rtpmanager/rtpsource.c: Fix GST_DEBUG call to only have as many arguments as required by the format string. Fixes... Original commit message from CVS: * gst/rtpmanager/rtpsource.c: (get_clock_rate): Fix GST_DEBUG call to only have as many arguments as required by the format string. Fixes a compiler warning. --- ChangeLog | 6 ++++++ gst/rtpmanager/rtpsource.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d23842e..0d31fc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-17 Sebastian Dröge + + * gst/rtpmanager/rtpsource.c: (get_clock_rate): + Fix GST_DEBUG call to only have as many arguments as required + by the format string. Fixes a compiler warning. + 2008-11-17 Wim Taymans * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate), diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 102ac06..5ee3cb3 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -734,7 +734,7 @@ get_clock_rate (RTPSource * src, guint8 payload) if (src->callbacks.clock_rate) clock_rate = src->callbacks.clock_rate (src, payload, src->user_data); - GST_DEBUG ("got clock-rate %d", payload, clock_rate); + GST_DEBUG ("got clock-rate %d", clock_rate); src->clock_rate = clock_rate; } -- 2.7.4