From 7168a7b9c0ac0a9d6a7bd8a62ca8cc36fe4beee1 Mon Sep 17 00:00:00 2001 From: Wim Taymans <wim.taymans@gmail.com> Date: Sun, 28 Jul 2002 18:13:26 +0000 Subject: [PATCH] small sync fix Original commit message from CVS: small sync fix --- sys/oss/gstosssink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index 2905977f04..02b4a9a6df 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -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);