gst/schedulers/gstoptimalscheduler.c: Try to work with the threading mess that queue_link is.

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c:
(get_group_schedule_function):
Try to work with the threading mess that queue_link is.
This commit is contained in:
Ronald S. Bultje 2005-02-01 00:38:05 +00:00
parent 6a4b9177e4
commit 34d1219213
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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):

View file

@ -1286,7 +1286,12 @@ get_group_schedule_function (int argc, char *argv[])
{
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);