small sync fix
Original commit message from CVS: small sync fix
This commit is contained in:
parent
e4a6a0ad89
commit
7168a7b9c0
@ -574,7 +574,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
|
|||||||
gst_element_clock_wait (GST_ELEMENT (osssink), osssink->clock,
|
gst_element_clock_wait (GST_ELEMENT (osssink), osssink->clock,
|
||||||
buftime - queued, &jitter);
|
buftime - queued, &jitter);
|
||||||
|
|
||||||
if (jitter > 0) {
|
if (jitter >= 0) {
|
||||||
gst_clock_handle_discont (osssink->clock, buftime - queued + jitter);
|
gst_clock_handle_discont (osssink->clock, buftime - queued + jitter);
|
||||||
write (osssink->fd, data, size);
|
write (osssink->fd, data, size);
|
||||||
gst_oss_clock_set_active (osssink->provided_clock, TRUE);
|
gst_oss_clock_set_active (osssink->provided_clock, TRUE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user