Commit 10f1b355 authored by Thibault Saunier's avatar Thibault Saunier 🌵

ges:source: Handle missing elements in converters

Part-of: <!204>
parent 6acee384
Pipeline #190300 waiting for manual action with stages
in 41 seconds
......@@ -153,7 +153,12 @@ ges_source_create_topbin (GESSource * source, const gchar * bin_name,
priv->topbin = gst_object_ref (bin);
last = link_elements (bin, elements);
if (last) {
priv->first_converter = gst_object_ref (elements->pdata[0]);
gint i = 0;
while (!elements->pdata[i])
i++;
priv->first_converter = gst_object_ref (elements->pdata[i]);
priv->last_converter = gst_object_ref (last);
}
......
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