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 316571 - GstPropertyProbe's _name variants don't work
GstPropertyProbe's _name variants don't work
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: dont know
0.8.10
Other Linux
: High normal
: 0.8.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-17 15:29 UTC by Torsten Schoenfeld
Modified: 2005-09-19 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
G_OBJECT_CLASS => G_OBJECT_GET_CLASS (1.99 KB, patch)
2005-09-17 15:29 UTC, Torsten Schoenfeld
committed Details | Review

Description Torsten Schoenfeld 2005-09-17 15:29:12 UTC
All the _name variants of methods in GstPropertyProbe don't work because they
use G_OBJECT_CLASS on an object.  They should use G_OBJECT_GET_CLASS.  Patch
attached.

(On a sidenote, the GstPropertyProbe API is not really language binding friendly
since many of the methods have names that map to rather generic names in a
namespaced language.  For example:

  gst_property_probe_get_property => $element->get_property,
  gst_property_probe_get_values => $element->get_values.

I worked around this by inserting "_probe_" in some strategical places.)
Comment 1 Torsten Schoenfeld 2005-09-17 15:29:41 UTC
Created attachment 52340 [details] [review]
G_OBJECT_CLASS => G_OBJECT_GET_CLASS
Comment 2 Brent Smith (smitten) 2005-09-18 05:05:56 UTC
Marking NEW to get some attention for the patch.
Comment 3 Tim-Philipp Müller 2005-09-19 17:25:39 UTC
Committed to GStreamer core (0.8 branch) and gst-plugins-base (0.9):


Cheers
 -Tim