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
This commit is contained in:
Jan Schmidt 2008-09-17 13:59:21 +00:00
parent 07f3b573f5
commit 6cc8ef3018
3 changed files with 8 additions and 2 deletions

View file

@ -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> 2008-09-17 Zaheer Abbas Merali <zaheerabbas at merali dot org>
patch by: Michael Krufky patch by: Michael Krufky

View file

@ -243,7 +243,7 @@ jack_process_cb (jack_nframes_t nframes, void *arg)
wrong_size: wrong_size:
{ {
GST_ERROR_OBJECT (sink, "nbytes (%d) != flen (%d)", GST_ERROR_OBJECT (sink, "nbytes (%d) != flen (%d)",
nframes * sizeof (sample_t), flen); (gint) (nframes * sizeof (sample_t)), flen);
return 1; return 1;
} }
} }

View file

@ -231,7 +231,7 @@ calculate_skew (RTPJitterBuffer * jbuf, guint32 rtptime, GstClockTime time,
* its timestamps. */ * its timestamps. */
if (ABS (delta - jbuf->skew) > GST_SECOND) { if (ABS (delta - jbuf->skew) > GST_SECOND) {
GST_DEBUG ("delta %" GST_TIME_FORMAT " too big, reset skew", 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_time = time;
jbuf->base_rtptime = gstrtptime; jbuf->base_rtptime = gstrtptime;
jbuf->base_extrtp = ext_rtptime; jbuf->base_extrtp = ext_rtptime;