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),
(setup_group_scheduler), (loop_group_schedule_function),
(gst_opt_scheduler_pad_link):
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;
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);