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 124023 - [PATCH] Fix for GValue handling in dparam.c
[PATCH] Fix for GValue handling in dparam.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal minor
: 0.7.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-10-07 15:01 UTC by Alexander Thomas
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
this patch makes dparam.c call the correct g_value methods (1.13 KB, patch)
2003-10-07 15:03 UTC, Alexander Thomas
none Details | Review

Description Alexander Thomas 2003-10-07 15:01:29 UTC
the get property function always try's to set the GValue parameter with 
g_value_set_float regardless of the type of the dparam.
additionally g_value_get_int is used at another place instead of 
g_value_get_int64.

see patch for details.
Comment 1 Alexander Thomas 2003-10-07 15:03:20 UTC
Created attachment 20539 [details] [review]
this patch makes dparam.c call the correct g_value methods
Comment 2 David Schleef 2003-10-31 03:56:46 UTC
Makes sense.  Applied.