soundtouch: Add missing break in switch

Whoops, modifying the pitch when modifying the output rate ...

CID #1139749
This commit is contained in:
Edward Hervey 2014-04-08 11:23:50 +02:00
parent 2e808ca1e9
commit eb0a307e28

View file

@ -267,6 +267,7 @@ gst_pitch_set_property (GObject * object, guint prop_id,
/* Has no effect until the next input segment */ /* Has no effect until the next input segment */
pitch->out_seg_rate = g_value_get_float (value); pitch->out_seg_rate = g_value_get_float (value);
GST_OBJECT_UNLOCK (pitch); GST_OBJECT_UNLOCK (pitch);
break;
case ARG_PITCH: case ARG_PITCH:
pitch->pitch = g_value_get_float (value); pitch->pitch = g_value_get_float (value);
pitch->priv->st->setPitch (pitch->pitch); pitch->priv->st->setPitch (pitch->pitch);