From: Sebastian Dröge Date: Tue, 28 Feb 2017 13:15:31 +0000 (+0200) Subject: urisourcebin: Fix inverted check for an existing slot X-Git-Tag: 1.12.2~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd9fd89d61da3c6ec007020c4535129ac992f847;p=platform%2Fupstream%2Fgst-plugins-base.git urisourcebin: Fix inverted check for an existing slot CID 1363330 --- diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 4824668..e0fc757 100644 --- a/gst/playback/gsturisourcebin.c +++ b/gst/playback/gsturisourcebin.c @@ -1725,7 +1725,7 @@ analyse_source (GstURISourceBin * urisrc, gboolean * is_raw, GST_URI_SOURCE_BIN_LOCK (urisrc); if (use_queue) { OutputSlotInfo *slot = get_output_slot (urisrc, FALSE, FALSE, NULL); - if (slot) + if (!slot) goto no_slot; gst_pad_link (pad, slot->sinkpad);