summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-06-30 11:46:38 (GMT)
committerStefan Kost <ensonic@users.sf.net>2009-06-30 11:46:38 (GMT)
commitc1f46ea29e1f8fc6a089b887923fba70b58912e8 (patch)
treeef7fbab3d1b39b75941ddacc2852cfb04a20f6b0
parentaab2e110a158326add0967bdd0e7aa03b4229be0 (diff)
volume: include "1.0=100%" in property description
-rw-r--r--gst/playback/gstplaybin2.c2
-rw-r--r--gst/volume/gstvolume.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
index 4eed640..fae56b9 100644
--- a/gst/playback/gstplaybin2.c
+++ b/gst/playback/gstplaybin2.c
@@ -728,7 +728,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
GST_TYPE_ELEMENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_VOLUME,
- g_param_spec_double ("volume", "Volume", "The audio volume",
+ g_param_spec_double ("volume", "Volume", "The audio volume, 1.0=100%",
0.0, VOLUME_MAX_DOUBLE, 1.0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_MUTE,
diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c
index 89f8394..308ebf3 100644
--- a/gst/volume/gstvolume.c
+++ b/gst/volume/gstvolume.c
@@ -428,7 +428,7 @@ gst_volume_class_init (GstVolumeClass * klass)
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_VOLUME,
- g_param_spec_double ("volume", "Volume", "volume factor",
+ g_param_spec_double ("volume", "Volume", "volume factor, 1.0=100%",
0.0, VOLUME_MAX_DOUBLE, DEFAULT_PROP_VOLUME,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));