mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
small sync fix
Original commit message from CVS: small sync fix
This commit is contained in:
parent
e4a6a0ad89
commit
7168a7b9c0
1 changed files with 2 additions and 2 deletions
|
@ -482,7 +482,7 @@ gst_osssink_get_time (GstClock *clock, gpointer data)
|
|||
|
||||
/*
|
||||
g_print ("from osssink: %lld %d %lld %d\n", res, delay, osssink->handled, osssink->bps);
|
||||
*/
|
||||
*/
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -574,7 +574,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
|
|||
gst_element_clock_wait (GST_ELEMENT (osssink), osssink->clock,
|
||||
buftime - queued, &jitter);
|
||||
|
||||
if (jitter > 0) {
|
||||
if (jitter >= 0) {
|
||||
gst_clock_handle_discont (osssink->clock, buftime - queued + jitter);
|
||||
write (osssink->fd, data, size);
|
||||
gst_oss_clock_set_active (osssink->provided_clock, TRUE);
|
||||
|
|
Loading…
Reference in a new issue