small sync fix

Original commit message from CVS:
small sync fix
This commit is contained in:
Wim Taymans 2002-07-28 18:13:26 +00:00
parent e4a6a0ad89
commit 7168a7b9c0

View file

@ -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);