projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e16eb7
)
Added float transform
author
Wim Taymans
<wim.taymans@gmail.com>
Thu, 19 Dec 2002 19:59:21 +0000
(19:59 +0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Thu, 19 Dec 2002 19:59:21 +0000
(19:59 +0000)
Original commit message from CVS:
Added float transform
gst/gstprops.c
patch
|
blob
|
history
diff --git
a/gst/gstprops.c
b/gst/gstprops.c
index d18779598e496812f873f42e2179903260545a6c..3572d3265919d6a4e7f2dfc0758f830b8260c82e 100644
(file)
--- a/
gst/gstprops.c
+++ b/
gst/gstprops.c
@@
-89,6
+89,9
@@
transform_func (const GValue *src_value,
case GST_PROPS_INT_TYPE:
g_string_append_printf (result, "%s=(int) %d", name, entry->data.int_data);
break;
+ case GST_PROPS_FLOAT_TYPE:
+ g_string_append_printf (result, "%s=(float) %f", name, entry->data.float_data);
+ break;
case GST_PROPS_FOURCC_TYPE:
g_string_append_printf (result, "%s=(fourcc) '%4.4s'", name, (gchar *)&entry->data.fourcc_data);
break;