[Bug 741263] videodecoder: implement caps query

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 16 07:05:21 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=741263
  GStreamer | gst-plugins-base | unspecified

--- Comment #16 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-12-16 15:05:14 UTC ---
The problem is that right now the decoders always return the template caps and
the subset check works ok with that.

So some decoders that need all that have in the template caps not only the
format 'name' but also the fields they required (width/height/rate/channels...)
so the subset check works fine with the template.

This patch fixes the caps query by adding the downstream restrictions but will
break this subset check because it won't compare against the template caps
anymore (where the required fields are put).

So I'd propose to implement an accept caps query that does:
1) subset check the caps against the template caps
2) intersect with the query caps result.

What do you think?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list