Commit 0587ab41 authored by Olivier Crête's avatar Olivier Crête 👻

pitch: Fix inverted condition in setcaps

parent b36246ce
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment