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 168438 - [API] GstIndexFilter doesn't receive user_data
[API] GstIndexFilter doesn't receive user_data
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.9.x
Other Linux
: Normal normal
: 0.9.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 319388
 
 
Reported: 2005-02-24 20:31 UTC by Torsten Schoenfeld
Modified: 2005-11-19 17:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Torsten Schoenfeld 2005-02-24 20:31:07 UTC
gst_index_set_filter() allows you to specify user data that, according to the
documentation, is passed to the filter function.  It also assigns the data to
index->filter_user_data.  Unfortunately, GstIndexFilter doesn't actually receive
the data.
Comment 1 Ronald Bultje 2005-02-25 09:18:29 UTC
Hm... I think for now, your best shot is to read index->filter_user_data from
the provided struct when the function is called. The API isn't very sane though,
I'll mark this for API fixage in 0.9.
Comment 2 Torsten Schoenfeld 2005-02-25 10:25:56 UTC
I'm wrapping this for a language binding, and since I also need destruction
notification I just put the user data into the object as qdata.
Comment 3 Andy Wingo 2005-11-19 17:30:04 UTC
Fixed in CVS, with a destroy function as well.