mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
pitch: Fix inverted condition in setcaps
This commit is contained in:
parent
70d83b323b
commit
2046ba220f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue