mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
transcodebin: Avoid elements name duplication
By just letting GStreamer choose a good name
This commit is contained in:
parent
020ee62c59
commit
924006279a
1 changed files with 2 additions and 2 deletions
|
@ -150,9 +150,9 @@ _insert_filter (GstTranscodeBin * self, GstPad * sinkpad, GstPad * pad,
|
||||||
GST_OBJECT_UNLOCK (filter);
|
GST_OBJECT_UNLOCK (filter);
|
||||||
|
|
||||||
if (audio)
|
if (audio)
|
||||||
convert = gst_element_factory_make ("audioconvert", "filter-convert");
|
convert = gst_element_factory_make ("audioconvert", NULL);
|
||||||
else
|
else
|
||||||
convert = gst_element_factory_make ("videoconvert", "filter-convert");
|
convert = gst_element_factory_make ("videoconvert", NULL);
|
||||||
|
|
||||||
if (!convert) {
|
if (!convert) {
|
||||||
GST_ELEMENT_ERROR (self, CORE, MISSING_PLUGIN,
|
GST_ELEMENT_ERROR (self, CORE, MISSING_PLUGIN,
|
||||||
|
|
Loading…
Reference in a new issue