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 16:04:25 -0400 |
commit | 2046ba220f8707c4878ddc0a2cfd6956d8e4794c (patch) | |
tree | 404e8c09b0234295fcb74f9dde2acac1a732b1a4 /ext/soundtouch/gstpitch.cc | |
parent | 70d83b323bcbc956e19d050e145a410f46b84e1a (diff) |
pitch: Fix inverted condition in setcaps
Diffstat (limited to 'ext/soundtouch/gstpitch.cc')
-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); |