mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
source: Handle missing elements in converter
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/204>
This commit is contained in:
parent
d6092bc8c5
commit
ffa00b24a2
1 changed files with 3 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue