Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c:
(get_group_schedule_function):
Try to work with the threading mess that queue_link is.
2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+ * gst/schedulers/gstoptimalscheduler.c:
+ (get_group_schedule_function):
+ Try to work with the threading mess that queue_link is.
+
+2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
* gst/gstbin.c: (gst_bin_remove_func):
Explicitely make an element release locks in a group when being
remove from a bin.
{
GstOptSchedulerGroup *group = (GstOptSchedulerGroup *) argv;
GstElement *entry = group->entry;
- const GList *pads = gst_element_get_pad_list (entry);
+ const GList *pads;
+
+ /* what if the entry point disappeared? */
+ if (!entry)
+ return 0;
+ pads = gst_element_get_pad_list (entry);
GST_LOG ("executing get-based group %p", group);