[Gstreamer-bugs] [Bug 113258] Changed - gst_caps_intersect() returns NULL for empty intersection

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Thu May 29 14:03:26 PDT 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=113258

Changed by rbultje at ronald.bitfreak.net.

--- shadow/113258	Sun May 18 22:25:57 2003
+++ shadow/113258.tmp.32765	Thu May 29 17:03:26 2003
@@ -16,6 +16,14 @@
 Summary: gst_caps_intersect() returns NULL for empty intersection
 
 gst_caps_intersect() returns NULL if the intersection is empty, even though
 NULL caps has the opposite meaning.  I suggest having it return
 GST_CAPS_EMPTY instead, and change other caps math functions to handle
 GST_CAPS_EMPTY properly.
+
+------- Additional Comments From rbultje at ronald.bitfreak.net  2003-05-29 17:03 -------
+I don't think it's wrong. Basically, NULL as caps on a pad template or
+as a return value of _getcaps() means 'anything', but NULL as an
+intersection means 'nothing' - the combination of these still means
+'anything'.
+
+This is somewhat insonsistent, but it makes sense.





More information about the Gstreamer-bugs mailing list