Commit ffa00b24 authored by Thibault Saunier's avatar Thibault Saunier 🌵

source: Handle missing elements in converter

Part-of: <!204>
parent d6092bc8
......@@ -56,6 +56,9 @@ link_elements (GstElement * bin, GPtrArray * elements)
for (i = 0; i < elements->len; i++) {
element = elements->pdata[i];
if (!element)
continue;
gst_bin_add (GST_BIN (bin), element);
if (prev) {
if (!gst_element_link_pads_full (prev, "src", element, "sink",
......
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