summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2014-04-08 11:23:50 +0200
committerEdward Hervey <edward@collabora.com>2014-04-08 11:23:50 +0200
commiteb0a307e28ed959a418f5b835109b69ef3fa7bcb (patch)
treebb51e7e64089edd5798b71f980f7396ee87c37a1
parent2e808ca1e95809c63ad20cee427879cbc09d3d4e (diff)
downloadgstreamer-plugins-bad-eb0a307e28ed959a418f5b835109b69ef3fa7bcb.tar.gz
soundtouch: Add missing break in switch
Whoops, modifying the pitch when modifying the output rate ... CID #1139749
-rw-r--r--ext/soundtouch/gstpitch.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc
index 458184349..7d2e6dc0d 100644
--- a/ext/soundtouch/gstpitch.cc
+++ b/ext/soundtouch/gstpitch.cc
@@ -267,6 +267,7 @@ gst_pitch_set_property (GObject * object, guint prop_id,
/* Has no effect until the next input segment */
pitch->out_seg_rate = g_value_get_float (value);
GST_OBJECT_UNLOCK (pitch);
+ break;
case ARG_PITCH:
pitch->pitch = g_value_get_float (value);
pitch->priv->st->setPitch (pitch->pitch);