summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorSteve Baker <steve@stevebaker.org>2001-04-28 19:16:30 +0000
committerSteve Baker <steve@stevebaker.org>2001-04-28 19:16:30 +0000
commitc07e195b0e558126020dcc6ace0cdd2605e3fd0d (patch)
tree06b332681c65f2eecf4e3601c2440a1ec93d4e4c /editor
parentf02d86f75256c7968419685cb9bce5edb71b822c (diff)
added output of float properties
Original commit message from CVS: added output of float properties
Diffstat (limited to 'editor')
-rw-r--r--editor/gsteditorproperty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/gsteditorproperty.c b/editor/gsteditorproperty.c
index 9a787ce7e8..64c070f73f 100644
--- a/editor/gsteditorproperty.c
+++ b/editor/gsteditorproperty.c
@@ -254,6 +254,12 @@ gst_editor_props_show_func (GstPropsEntry *entry)
case GST_PROPS_INT_RANGE_ID:
return g_strdup_printf ("%d-%d", entry->data.int_range_data.min, entry->data.int_range_data.max);
break;
+ case GST_PROPS_FLOAT_ID:
+ return g_strdup_printf ("%f", entry->data.float_data);
+ break;
+ case GST_PROPS_FLOAT_RANGE_ID:
+ return g_strdup_printf ("%f-%f", entry->data.float_range_data.min, entry->data.float_range_data.max);
+ break;
case GST_PROPS_FOURCC_ID:
return g_strdup_printf ("%4.4s", (gchar *)&entry->data.fourcc_data);
break;