[Bug 677401] [audioparsers][videoparsers] Return too strict caps in sink getcaps functions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 3 09:38:29 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=677401
  GStreamer | gst-plugins-good | 0.11.x

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |wim.taymans at gmail.com
         Resolution|FIXED                       |

--- Comment #7 from Wim Taymans <wim.taymans at gmail.com> 2013-12-03 17:38:26 UTC ---
This patch is not correct, I think:

The getcaps function should always proxy the (additional) constraints upstream
to make upstream elements select an acceptable format. You can't add the
template caps because then you simply ignore the contraints.

To also make the parser accept caps with missing fields (because it's a parser
and it can figure that out itself) you would need to implement a custom
acceptcaps function that checks if there is an _intersection_ of the input caps
and the result of getcaps.

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