summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2006-11-22 17:31:02 +0000
committerEdward Hervey <bilboed@bilboed.com>2006-11-22 17:31:02 +0000
commitd4a8830b7bb39eea2fca0312c8e8b270ea14f36a (patch)
tree6e07dae7edbe6d66b6057ae06825be76bc1b4628
parent34d62eb035b3fe41e3584e173d3adf1363c25e03 (diff)
examples/audio-controller.py: Fix example, use proper property name. Doesn't change anything to the way it used to wo...
Original commit message from CVS: * examples/audio-controller.py: Fix example, use proper property name. Doesn't change anything to the way it used to work, but since it's an example it should be done properly.
-rw-r--r--ChangeLog7
-rw-r--r--examples/audio-controller.py2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 762109c..a48e02c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-11-22 Edward Hervey <edward@fluendo.com>
+ * examples/audio-controller.py:
+ Fix example, use proper property name. Doesn't change anything to the
+ way it used to work, but since it's an example it should be done
+ properly.
+
+2006-11-22 Edward Hervey <edward@fluendo.com>
+
* codegen/override.py:
Fix the lookup of override files in the specified search directories.
* gst/Makefile.am:
diff --git a/examples/audio-controller.py b/examples/audio-controller.py
index 549d487..d676910 100644
--- a/examples/audio-controller.py
+++ b/examples/audio-controller.py
@@ -21,7 +21,7 @@ def main():
control = gst.Controller(src, "freq", "volume")
control.set_interpolation_mode("volume", gst.INTERPOLATE_LINEAR)
- control.set_interpolation_mode("volume", gst.INTERPOLATE_LINEAR)
+ control.set_interpolation_mode("freq", gst.INTERPOLATE_LINEAR)
control.set("volume", 0, 0.0)
control.set("volume", 2 * gst.SECOND, 1.0)