Commit bd9fd89d authored by Sebastian Dröge's avatar Sebastian Dröge

urisourcebin: Fix inverted check for an existing slot

CID 1363330
parent f41198db
......@@ -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);
......
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