[Bug 741263] videodecoder: implement caps query

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 16 13:49:04 PST 2014


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

Thiago Sousa Santos <thiagossantos> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #292776|0                           |1
        is obsolete|                            |

--- Comment #17 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-12-16 21:49:00 UTC ---
Created an attachment (id=292860)
 View: https://bugzilla.gnome.org/attachment.cgi?id=292860
 Review: https://bugzilla.gnome.org/review?bug=741263&attachment=292860

videodecoder: accept-caps should only require fields from the template

With the new caps query results the caps returned might have extra fields
that are not required by the decoder (framerate for image decoders) and it
causes a regression making, for example, jpegdec reject caps that don't
have framerates.

The accept-caps implementation will do 2 checks:

1) Do subset check with the template caps, making sure all the required
fields that are present on the template are present on the received caps.
2) Do a intersection check with the result of a caps query, making sure
that downstream can accept the fields in the received caps.

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