mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
gst/schedulers/entryscheduler.c: make resetting scheduler work twice in a row
Original commit message from CVS: * gst/schedulers/entryscheduler.c: (gst_entry_scheduler_reset): make resetting scheduler work twice in a row
This commit is contained in:
parent
463361defb
commit
03e5b961dc
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* gst/schedulers/entryscheduler.c: (gst_entry_scheduler_reset):
|
||||
make resetting scheduler work twice in a row
|
||||
|
||||
2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* gst/gstvalue.c: (gst_strtoll), (CREATE_SERIALIZATION),
|
||||
|
|
|
@ -756,8 +756,10 @@ gst_entry_scheduler_reset (GstScheduler * sched)
|
|||
}
|
||||
#endif
|
||||
|
||||
do_cothread_context_destroy (GST_ENTRY_SCHEDULER (sched)->context);
|
||||
GST_ENTRY_SCHEDULER (sched)->context = NULL;
|
||||
if (GST_ENTRY_SCHEDULER (sched)->context) {
|
||||
do_cothread_context_destroy (GST_ENTRY_SCHEDULER (sched)->context);
|
||||
GST_ENTRY_SCHEDULER (sched)->context = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static CothreadPrivate *
|
||||
|
|
Loading…
Reference in a new issue