From bd9fd89d61da3c6ec007020c4535129ac992f847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 28 Feb 2017 15:15:31 +0200 Subject: [PATCH] urisourcebin: Fix inverted check for an existing slot CID 1363330 --- gst/playback/gsturisourcebin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 48246684e8..e0fc757c8d 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);