[Bug 723236] caps: fix gst_caps_get_features return

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 3 08:46:02 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723236
  GStreamer | gstreamer (core) | git

Matthieu Bouron <matthieu.bouron> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #267523|0                           |1
        is obsolete|                            |

--- Comment #7 from Matthieu Bouron <matthieu.bouron at collabora.com> 2014-02-03 16:45:56 UTC ---
Created an attachment (id=267966)
 View: https://bugzilla.gnome.org/attachment.cgi?id=267966
 Review: https://bugzilla.gnome.org/review?bug=723236&attachment=267966

caps: ensure that each newly created caps has its own caps features

Patch updated:
  * gst_caps_get_features returns the caps directly even if they are NULL
(error message + assert). But it should not be the case.
  * gst_caps_set_features is now able to overwrite existing caps features as
intended if the caps are writable. 
  * all newly created caps will own a gst caps features defaulting to
memory:SystemMemory if nothing (NULL) is specified.

Obvisouly, this patch can be splitted.
Comments welcome.

-- 
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