diff options
Diffstat (limited to 'multimedia/gstreamer80/files/patch-gst_schedulers_gstoptimalscheduler.c')
-rw-r--r-- | multimedia/gstreamer80/files/patch-gst_schedulers_gstoptimalscheduler.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/gstreamer80/files/patch-gst_schedulers_gstoptimalscheduler.c b/multimedia/gstreamer80/files/patch-gst_schedulers_gstoptimalscheduler.c new file mode 100644 index 000000000000..2e9df12d13c2 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-gst_schedulers_gstoptimalscheduler.c @@ -0,0 +1,20 @@ +--- gst/schedulers/gstoptimalscheduler.c.orig Fri Jul 2 23:38:37 2004 ++++ gst/schedulers/gstoptimalscheduler.c Fri Jul 2 23:38:42 2004 +@@ -2276,7 +2277,7 @@ + + GST_LOG ("elements still have links with other elements in the group"); + +- while (group->elements) ++ while (group && group->elements) + for (l = group->elements; l && l->data; l = l->next) { + GstElement *element = (GstElement *) l->data; + +@@ -2309,7 +2310,7 @@ + } + + if (linkcount < 2) { +- remove_from_group (group, element); ++ group = remove_from_group (group, element); + } + /* if linkcount == 2, it will be unlinked later on */ + else if (linkcount > 2) { |