mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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);
|
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;
|
return FALSE;
|
||||||
|
|
||||||
GST_OBJECT_LOCK (pitch);
|
GST_OBJECT_LOCK (pitch);
|
||||||
|
|
Loading…
Reference in a new issue