pitch: Fix inverted condition in setcaps

This commit is contained in:
Olivier Crête 2013-10-12 16:04:25 -04:00
parent 70d83b323b
commit 2046ba220f

View file

@ -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);