summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-07-28 18:13:26 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-07-28 18:13:26 +0000
commit7168a7b9c0ac0a9d6a7bd8a62ca8cc36fe4beee1 (patch)
tree9c7c7d2941088c0c3c26f4abe372a54c2c797455 /sys
parente4a6a0ad897b32a78c1dce4305a8f844f40a2275 (diff)
small sync fix
Original commit message from CVS: small sync fix
Diffstat (limited to 'sys')
-rw-r--r--sys/oss/gstosssink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c
index 2905977f..02b4a9a6 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);