mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/schedulers/entryscheduler.c: remove unused variable, fix error inside Rb, fix compile warning in unreachable code
Original commit message from CVS: * gst/schedulers/entryscheduler.c: remove unused variable, fix error inside Rb, fix compile warning in unreachable code
This commit is contained in:
parent
93a0882595
commit
e5ea553496
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-04-03 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* gst/schedulers/entryscheduler.c:
|
||||
remove unused variable, fix error inside Rb, fix compile warning in
|
||||
unreachable code
|
||||
|
||||
2004-04-03 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* gst/schedulers/entryscheduler.c:
|
||||
|
|
|
@ -132,8 +132,6 @@ struct _GstEntryScheduler
|
|||
GList *schedule_possible; /* possible entry points */
|
||||
GList *waiting; /* elements waiting for the clock */
|
||||
gboolean error; /* if an element threw an error */
|
||||
|
||||
GList *decoupled_pads; /* all pads we manage that belong to decoupled elements */
|
||||
};
|
||||
|
||||
struct _GstEntrySchedulerClass
|
||||
|
@ -887,7 +885,8 @@ gst_entry_scheduler_state_transition (GstScheduler * scheduler,
|
|||
}
|
||||
}
|
||||
}
|
||||
if (element->sched_private != NULL) {
|
||||
if (element->sched_private != NULL
|
||||
&& ELEMENT_PRIVATE (element)->thread != NULL) {
|
||||
do_cothread_destroy (ELEMENT_PRIVATE (element)->thread);
|
||||
ELEMENT_PRIVATE (element)->thread = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue