[Bug 147931] GstArray subtraction not implemented
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jul 17 22:02:52 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=147931
GStreamer | gstreamer (core) | git
Edward Hervey <bilboed> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |bilboed at gmail.com
--- Comment #15 from Edward Hervey <bilboed at gmail.com> 2013-07-18 05:02:44 UTC ---
(In reply to comment #14)
> Ok, I guess I found a case where it still doesn't work correctly...
>
> c2 = gst_caps_from_string
> ("audio/x-raw-int,channels=1;audio/x-raw-int,channels=2");
> c1 = gst_caps_from_string ("audio/x-raw-int,channels=[1,2]");
> gst_caps_merge (c2, c1);
This results in "audio/x-raw-int,channels=[1,2]" ... which sounds correct to
me.
Why is this considered wrong ?
> GST_DEBUG ("merged: (%d) %" GST_PTR_FORMAT, gst_caps_get_size (c2), c2);
> fail_unless (gst_caps_get_size (c2) == 2, NULL);
> gst_caps_unref (c2);
>
>
>
> This can be fixed by using simplified caps for checking if a structure is a
> subset of caps in gst_caps_merge_structure() but this will make negotiation
> even slower than it already is.
--
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