Unlock an element even if it was a loop based one
authorWim Taymans <wim.taymans@gmail.com>
Sun, 23 Jun 2002 12:21:50 +0000 (12:21 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 23 Jun 2002 12:21:50 +0000 (12:21 +0000)
Original commit message from CVS:
Unlock an element even if it was a loop based one

gst/schedulers/gstbasicscheduler.c

index 02c713d..a9039c1 100644 (file)
@@ -161,6 +161,8 @@ static GstSchedulerClass *parent_class = NULL;
     entry->pre_run_func (entry);                               \
   SCHED (entry)->current = entry;                              \
   do_cothread_switch (GST_ELEMENT_THREADSTATE (entry));                \
+  if (entry->post_run_func)                                    \
+    entry->post_run_func (entry);                              \
 }G_STMT_END
 
 static GType