summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-09-17 13:59:21 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-09-17 13:59:21 +0000
commit6cc8ef3018beaae99bb5eb07d124c1efd85aa8c5 (patch)
tree678057f7e5aa9c796564e3227d6ed7f0c707399d
parent07f3b573f5fdae67ea57f60ee4e5ba11e90fa08a (diff)
downloadgst-plugins-bad-6cc8ef3018beaae99bb5eb07d124c1efd85aa8c5.tar.gz
gst-plugins-bad-6cc8ef3018beaae99bb5eb07d124c1efd85aa8c5.tar.bz2
gst-plugins-bad-6cc8ef3018beaae99bb5eb07d124c1efd85aa8c5.zip
Fix compiler warnings on OS/X
Original commit message from CVS: * ext/jack/gstjackaudiosink.c: (jack_process_cb): * gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew): Fix compiler warnings on OS/X
-rw-r--r--ChangeLog6
-rw-r--r--ext/jack/gstjackaudiosink.c2
-rw-r--r--gst/rtpmanager/rtpjitterbuffer.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 06f654da..09592c2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-17 Jan Schmidt <jan.schmidt@sun.com>
+
+ * ext/jack/gstjackaudiosink.c: (jack_process_cb):
+ * gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew):
+ Fix compiler warnings on OS/X
+
2008-09-17 Zaheer Abbas Merali <zaheerabbas at merali dot org>
patch by: Michael Krufky
diff --git a/ext/jack/gstjackaudiosink.c b/ext/jack/gstjackaudiosink.c
index ec257deb..265ec68c 100644
--- a/ext/jack/gstjackaudiosink.c
+++ b/ext/jack/gstjackaudiosink.c
@@ -243,7 +243,7 @@ jack_process_cb (jack_nframes_t nframes, void *arg)
wrong_size:
{
GST_ERROR_OBJECT (sink, "nbytes (%d) != flen (%d)",
- nframes * sizeof (sample_t), flen);
+ (gint) (nframes * sizeof (sample_t)), flen);
return 1;
}
}
diff --git a/gst/rtpmanager/rtpjitterbuffer.c b/gst/rtpmanager/rtpjitterbuffer.c
index 050adef0..697c54c4 100644
--- a/gst/rtpmanager/rtpjitterbuffer.c
+++ b/gst/rtpmanager/rtpjitterbuffer.c
@@ -231,7 +231,7 @@ calculate_skew (RTPJitterBuffer * jbuf, guint32 rtptime, GstClockTime time,
* its timestamps. */
if (ABS (delta - jbuf->skew) > GST_SECOND) {
GST_DEBUG ("delta %" GST_TIME_FORMAT " too big, reset skew",
- delta - jbuf->skew);
+ GST_TIME_ARGS (delta - jbuf->skew));
jbuf->base_time = time;
jbuf->base_rtptime = gstrtptime;
jbuf->base_extrtp = ext_rtptime;