[Bug 741263] videodecoder: implement caps query

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 16 14:59:05 PST 2014


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

--- Comment #19 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-12-16 22:59:02 UTC ---
(In reply to comment #18)
> Sounds sensible, now this just needs to be considered once we add a getcaps
> vfunc to the audio/video decoder baseclass. In that case the result of that
> should be checked for subset instead of the template caps (and the template
> caps would be returned by the default implementation of getcaps).

I understand that once we have a getcaps function we should change the
accept-caps implementation to do a caps query instead of short-circuiting the
call to the internal function implementing it. Perhaps we want to do this now
anyway in case any subclass overrides the query function on the pad directly.

I didn't get the last part in parenthesis, isn't the default implementation
what the patch adds here? That gets downstream caps and intersects with the pad
template? Or do you want to change that to get downstream caps and intersect
with the sublass getcaps. Anyway this is something that we can decide once we
need this function.

-- 
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