mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
gst/schedulers/gstoptimalscheduler.c: Fix stupid warning when an element is to be migrated but is already migrated.
Original commit message from CVS: * gst/schedulers/gstoptimalscheduler.c: (group_dec_link), (gst_opt_scheduler_pad_link), (group_migrate_connected): Fix stupid warning when an element is to be migrated but is already migrated.
This commit is contained in:
parent
1312d71475
commit
99c3c397ca
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-07-14 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
|
||||||
|
(gst_opt_scheduler_pad_link), (group_migrate_connected):
|
||||||
|
Fix stupid warning when an element is to be migrated but
|
||||||
|
is already migrated.
|
||||||
|
|
||||||
2004-07-14 Wim Taymans <wim@fluendo.com>
|
2004-07-14 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
|
* gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
|
||||||
|
|
|
@ -2302,7 +2302,7 @@ group_migrate_connected (GstOptScheduler * osched, GstElement * element,
|
||||||
GstOptSchedulerGroup * group, GstPad * brokenpad)
|
GstOptSchedulerGroup * group, GstPad * brokenpad)
|
||||||
{
|
{
|
||||||
GList *connected, *c;
|
GList *connected, *c;
|
||||||
GstOptSchedulerGroup *new_group = NULL;
|
GstOptSchedulerGroup *new_group = NULL, *tst;
|
||||||
GstOptSchedulerChain *chain;
|
GstOptSchedulerChain *chain;
|
||||||
gint len;
|
gint len;
|
||||||
|
|
||||||
|
@ -2311,6 +2311,12 @@ group_migrate_connected (GstOptScheduler * osched, GstElement * element,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get_group (element, &tst);
|
||||||
|
if (tst == NULL) {
|
||||||
|
GST_LOG ("element has no group, not interesting");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
GST_LOG ("migrate connected elements to new group");
|
GST_LOG ("migrate connected elements to new group");
|
||||||
connected = element_get_reachables (element, group, brokenpad);
|
connected = element_get_reachables (element, group, brokenpad);
|
||||||
GST_LOG ("elements to move to new group:");
|
GST_LOG ("elements to move to new group:");
|
||||||
|
|
Loading…
Reference in a new issue