[Bug 775786] New: gst_structure_is_subset() conflicts with the design docs
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Dec 8 03:09:01 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=775786
Bug ID: 775786
Summary: gst_structure_is_subset() conflicts with the design
docs
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: ystreet00 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The design docs say that the superset can contain extra fields that are not in
the subset (which makes sense from a mathematics point of view). The API docs
and implementation don't allow this.
i.e.
gst_structure_is_subset (SUBSET: "test/test, channels=(int)1",
SUPERSET: "test/test, channels=(int)1, rate=(int)1")
returns FALSE.
The implementation also allows the subset to contain extra fields not in the
superset.
gst_structure_is_subset (SUBSET: "test/test, channels=(int)1, rate=(int)1",
SUPERSET: "test/test, channels=(int)1")
returns TRUE.
The only condition I could think of where this makes sense is that no field
means any value rather than no value in which case the design docs need
updating.
--
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