[gstreamer-bugs] [Bug 147931] GstArray subtraction not implemented

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jun 3 13:30:43 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=147931

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW




------- Comment #14 from Sebastian Dröge  2008-06-03 20:30 UTC -------
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);
  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.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=147931.




More information about the Gstreamer-bugs mailing list