summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/soundtouch/gstpitch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc
index 1773acfaf..458184349 100644
--- a/ext/soundtouch/gstpitch.cc
+++ b/ext/soundtouch/gstpitch.cc
@@ -313,7 +313,7 @@ gst_pitch_setcaps (GstPitch * pitch, GstCaps * caps)
priv = GST_PITCH_GET_PRIVATE (pitch);
- if (gst_audio_info_from_caps (&pitch->info, caps))
+ if (!gst_audio_info_from_caps (&pitch->info, caps))
return FALSE;
GST_OBJECT_LOCK (pitch);