transcodebin: Avoid elements name duplication
By just letting GStreamer choose a good name
This commit is contained in:
parent
020ee62c59
commit
924006279a
@ -150,9 +150,9 @@ _insert_filter (GstTranscodeBin * self, GstPad * sinkpad, GstPad * pad,
|
||||
GST_OBJECT_UNLOCK (filter);
|
||||
|
||||
if (audio)
|
||||
convert = gst_element_factory_make ("audioconvert", "filter-convert");
|
||||
convert = gst_element_factory_make ("audioconvert", NULL);
|
||||
else
|
||||
convert = gst_element_factory_make ("videoconvert", "filter-convert");
|
||||
convert = gst_element_factory_make ("videoconvert", NULL);
|
||||
|
||||
if (!convert) {
|
||||
GST_ELEMENT_ERROR (self, CORE, MISSING_PLUGIN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user