[gstreamer-bugs] [Bug 534491] caps changed checks only compare pointers

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu May 29 01:40:35 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=534491

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Stefan Kost (gstreamer, gtkdoc dev) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |NOTABUG




------- Comment #5 from Stefan Kost (gstreamer, gtkdoc dev)  2008-05-29 08:40 UTC -------
We should probably define when we want to use 

caps_changed = caps && caps != GST_PAD_CAPS (pad);

and when

caps_changed = !gst_caps_is_equal (caps, GST_PAD_CAPS (pad));

The code in comment #4 is kind of superfluous, as includes cehcks for NULL and
direct equivalence.


-- 
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=534491.




More information about the Gstreamer-bugs mailing list