summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-12-03 16:02:09 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2010-12-03 16:02:09 +0100
commit6a4bac2f00289151bd566a68c120aa95ac0eba95 (patch)
treef8c17f7d680e54ce12c38e7b5d5c4217009961ec
parent3bc65950ed3145923f9bda2a5b569d708f90c9c2 (diff)
clock: init variables in _reinit()lockfree-clocks
Properly initialize variables in _reinit() too
-rw-r--r--gst/gstclock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstclock.c b/gst/gstclock.c
index 8191af0c8..91ae04f14 100644
--- a/gst/gstclock.c
+++ b/gst/gstclock.c
@@ -222,6 +222,8 @@ gst_clock_entry_reinit (GstClock * clock, GstClockEntry * entry,
entry->time = time;
entry->interval = interval;
entry->status = GST_CLOCK_OK;
+ entry->unscheduled = FALSE;
+ entry->woken_up = FALSE;
return TRUE;
}