mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
gst/schedulers/gstoptimalscheduler.c
Original commit message from CVS: * gst/schedulers/gstoptimalscheduler.c (gst_opt_scheduler_pad_unlink): Check if element is non-NULL and really is a GstElement. Avoids critical when running gst-launch -v and a oggdemux/decoding pipeline.
This commit is contained in:
parent
fa903783c2
commit
f9329d93f7
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-05-03 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* gst/schedulers/gstoptimalscheduler.c
|
||||
(gst_opt_scheduler_pad_unlink): Check if element is non-NULL and
|
||||
really is a GstElement. Avoids critical when running gst-launch -v
|
||||
and a oggdemux/decoding pipeline.
|
||||
|
||||
2004-05-02 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||
|
||||
* docs/gst/tmpl/gstpipeline.sgml :
|
||||
|
|
|
@ -2186,7 +2186,8 @@ gst_opt_scheduler_pad_unlink (GstScheduler * sched,
|
|||
for (l = group->elements; l && l->data; l = l->next) {
|
||||
GstElement *element = (GstElement *) l->data;
|
||||
|
||||
if (GST_ELEMENT_IS_DECOUPLED (element))
|
||||
if (!element || !GST_IS_ELEMENT (element) ||
|
||||
GST_ELEMENT_IS_DECOUPLED (element))
|
||||
continue;
|
||||
|
||||
linkcount = 0;
|
||||
|
|
Loading…
Reference in a new issue