GNOME Bugzilla – Bug 751255
videoaggregator: simplifies and improves sink_get_caps.
Last modified: 2015-06-22 22:59:44 UTC
The problem here was that after removing the formats and all the things we could convert, we then intersected these caps with the template caps. Hence if a subclass offered permissive sink templates (eg all the possible formats videoconvert handles), but only one output format, then at negotiation time getcaps returned caps with the format restricted to that format, even though we do handle conversion.
Created attachment 305740 [details] [review] videoaggregator: simplifies and improves sink_get_caps.
Review of attachment 305740 [details] [review]: commit 1248b00c80aff2f24ce094a89ec58ce5c172afb8 Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> Date: Sat Jun 20 13:36:27 2015 +0200 videoaggregator: simplifies and improves sink_get_caps. The problem here was that after removing the formats and all the things we could convert, we then intersected these caps with the template caps. Hence if a subclass offered permissive sink templates (eg all the possible formats videoconvert handles), but only one output format, then at negotiation time getcaps returned caps with the format restricted to that format, even though we do handle conversion. https://bugzilla.gnome.org/show_bug.cgi?id=751255