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 344849 - GstController doesn't handle float properties correct
GstController doesn't handle float properties correct
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-14 06:57 UTC by Wouter Paesen
Modified: 2006-06-14 08:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for the described behaviour (389 bytes, patch)
2006-06-14 06:57 UTC, Wouter Paesen
committed Details | Review

Description Wouter Paesen 2006-06-14 06:57:17 UTC
When you try to control a float property with gstcontroller you will get
a warning emitted during the gst_controlled_property_new call.

A patch will be attached to fix this.
Comment 1 Wouter Paesen 2006-06-14 06:57:53 UTC
Created attachment 67321 [details] [review]
Fix for the described behaviour
Comment 2 Tim-Philipp Müller 2006-06-14 08:27:26 UTC
Thanks, fixed in CVS:

 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>

       Patch by: Wouter Paesen  <wouter at kangaroot net>

       * libs/gst/controller/gstcontroller.c:
       (gst_controlled_property_new):
         Fix controlling of float properties (#344849).

       * tests/check/libs/controller.c:
       (gst_test_mono_source_get_property),
       (gst_test_mono_source_set_property),
       (gst_test_mono_source_class_init), (GST_START_TEST):
         While we're at it, add some float stuff to unit test.