[Bug 797142] caps: Using gst_caps_fixate() on src pad leads to lies in the caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 14 06:44:21 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797142

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at coaxion.net

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
This is not only a problem with fixate(). intersect() will produce the same
caps (and you would get e.g. the same problem if you put a capsfilter between
source and decoder), and is_subset() considers them compatible.

The real problem here is that the source is not providing complete caps, or
more general that we don't have a way to declare mandatory and optional fields
in the caps.

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