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:
e5b66a8
)
Change printing of float props to %g
author
David Schleef
<ds@schleef.org>
Sun, 27 Jul 2003 01:22:07 +0000
(
01:22
+0000)
committer
David Schleef
<ds@schleef.org>
Sun, 27 Jul 2003 01:22:07 +0000
(
01:22
+0000)
Original commit message from CVS:
Change printing of float props to %g
tools/gst-inspect.c
patch
|
blob
|
history
diff --git
a/tools/gst-inspect.c
b/tools/gst-inspect.c
index
06ad8bb
..
3fc09ae
100644
(file)
--- a/
tools/gst-inspect.c
+++ b/
tools/gst-inspect.c
@@
-37,14
+37,14
@@
print_prop (GstPropsEntry *prop, gboolean showname, const gchar *pfx)
{
gfloat val;
gst_props_entry_get_float (prop, &val);
- g_print("Float: %
f
\n", val);
+ g_print("Float: %
g
\n", val);
break;
}
case GST_PROPS_FLOAT_RANGE_TYPE:
{
gfloat min, max;
gst_props_entry_get_float_range (prop, &min, &max);
- g_print("Float range: %
f - %f
\n", min, max);
+ g_print("Float range: %
g - %g
\n", min, max);
break;
}
case GST_PROPS_BOOLEAN_TYPE: