]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
libs/gst/controller/gstcontroller.c: Fix wrong getter for enums in controller.
authorStefan Kost <ensonic@users.sourceforge.net>
Thu, 14 Jun 2007 20:29:09 +0000 (20:29 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Thu, 14 Jun 2007 20:29:09 +0000 (20:29 +0000)
Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
Fix wrong getter for enums in controller.

ChangeLog
libs/gst/controller/gstcontroller.c

index fc2a298598b227bd7465fd9f876f3f4645a91db1..434f8bd5e668c1bd34b43a4bcb11ef33cf9e4c0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-14  Stefan Kost  <ensonic@users.sf.net>
+
+       * libs/gst/controller/gstcontroller.c:
+       (gst_controlled_property_set_interpolation_mode):
+         Fix wrong getter for enums in controller.
+
 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
 
        * libs/gst/check/gstcheck.c: (gst_check_init):
index 403cb49f1c3931826f425fd9c1cf1142f25e70d8..f6b94a1d1262900c10fb57e73feb1b1e189f7b15 100644 (file)
@@ -228,7 +228,7 @@ gst_controlled_property_set_interpolation_mode (GstControlledProperty * self,
             interpolation_methods[mode]->get_boolean_value_array;
         break;
       case G_TYPE_ENUM:
-        self->get = interpolation_methods[mode]->get_uint;
+        self->get = interpolation_methods[mode]->get_enum;
         self->get_value_array =
             interpolation_methods[mode]->get_enum_value_array;
         break;
@@ -1008,7 +1008,7 @@ gst_controller_get (GstController * self, gchar * property_name,
  * @self: the controller to get the list from
  * @property_name: the name of the property to get the list for
  *
- * Returns a read-only copy of the list of GstTimedValue for the given property.
+ * Returns a read-only copy of the list of #GstTimedValue for the given property.
  * Free the list after done with it.
  *
  * <note><para>This doesn't modify the controlled GObject property!</para></note>
@@ -1184,7 +1184,7 @@ gst_controller_get_value_arrays (GstController * self,
  * of values.
  *
  * The type of the values in the array is the same as the property's type.
- *  
+ *
  * <note><para>This doesn't modify the controlled GObject property!</para></note>
  *
  * Returns: %TRUE if the given array could be filled, %FALSE otherwise