diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-10-12 16:04:25 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-10-12 17:56:29 -0400 |
commit | 0587ab41b4f9979e9cfc11011ed5c970569ee3d3 (patch) | |
tree | 4fdc623797dde19bf7128dd044adc92bd4503daf | |
parent | b36246ce3c6019eae90f0ad3eb03eaa6115e4b5c (diff) | |
download | gstreamer-plugins-bad-1.0.tar.gz |
pitch: Fix inverted condition in setcaps1.0
-rw-r--r-- | ext/soundtouch/gstpitch.cc | 2 |
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); |