mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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:
parent
07f3b573f5
commit
6cc8ef3018
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue