mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/schedulers/gstoptimalscheduler.c: Fixed an error introduced with patch for 1.63. When setting a get based element...
Original commit message from CVS: * gst/schedulers/gstoptimalscheduler.c: (remove_from_group), (setup_group_scheduler), (gst_opt_scheduler_pad_link): Fixed an error introduced with patch for 1.63. When setting a get based element as the entry point in a group, make sure to mark the group as GET based.
This commit is contained in:
parent
53dc1b170e
commit
49342d34fc
2 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-05-18 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
|
||||
(setup_group_scheduler), (gst_opt_scheduler_pad_link):
|
||||
Fixed an error introduced with patch for 1.63. When setting
|
||||
a get based element as the entry point in a group, make sure
|
||||
to mark the group as GET based.
|
||||
|
||||
2004-05-18 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/schedulers/gstoptimalscheduler.c: (create_group),
|
||||
|
|
|
@ -857,9 +857,10 @@ remove_from_group (GstOptSchedulerGroup * group, GstElement * element)
|
|||
group->num_elements--;
|
||||
|
||||
/* if the element was an entry point in the group, clear the group's
|
||||
* entry point */
|
||||
* entry point, and mark it as unknown */
|
||||
if (group->entry == element) {
|
||||
group->entry = NULL;
|
||||
group->type = GST_OPT_SCHEDULER_GROUP_UNKNOWN;
|
||||
}
|
||||
|
||||
GST_ELEMENT_SCHED_GROUP (element) = NULL;
|
||||
|
@ -1911,9 +1912,11 @@ gst_opt_scheduler_pad_link (GstScheduler * sched, GstPad * srcpad,
|
|||
GST_OPT_SCHEDULER_GROUP_GET);
|
||||
|
||||
/* if there is not yet an entry in the group, select the source
|
||||
* element as the entry point */
|
||||
* element as the entry point and mark the group as a get based
|
||||
* group */
|
||||
if (!group->entry) {
|
||||
group->entry = src_element;
|
||||
group->type = GST_OPT_SCHEDULER_GROUP_GET;
|
||||
|
||||
GST_DEBUG ("setting \"%s\" as entry point of _get-based group %p",
|
||||
GST_ELEMENT_NAME (src_element), group);
|
||||
|
|
Loading…
Reference in a new issue