After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 515469 - patch to add gst_index_set_resolver_full
patch to add gst_index_set_resolver_full
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 515373
 
 
Reported: 2008-02-09 19:57 UTC by Siavash Safi
Modified: 2008-02-11 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst_index_set_resolver_full patch (3.01 KB, patch)
2008-02-09 19:58 UTC, Siavash Safi
committed Details | Review

Description Siavash Safi 2008-02-09 19:57:31 UTC
gst_index_set_resolver_full is missing. It's needed by GStreamermm to set a destroy callback. The patch adds gst_index_set_resolver_full.
Comment 1 Siavash Safi 2008-02-09 19:58:45 UTC
Created attachment 104792 [details] [review]
gst_index_set_resolver_full patch
Comment 2 Murray Cumming 2008-02-09 20:07:28 UTC
The destroy callback does not appear to be called (apart from when re-calling this function.
Comment 3 Wim Taymans 2008-02-11 17:54:46 UTC
        Patch by: Siavash Safi <siavash dot safi at gmail dot com>

        * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
        (gst_index_set_resolver_full):
        * gst/gstindex.h:
        Add new function with option to dispose of user_data in resolver.
        Actually call the dispose function when finalizing the object and not
        just when changing the resolver/filter.
        API: GstIndex::gst_index_set_resolver_full()

        * docs/gst/gstreamer-sections.txt:
        Add new function to docs. Fixes #515469.