projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
020ee62
)
transcodebin: Avoid elements name duplication
author
Thibault Saunier
<tsaunier@igalia.com>
Thu, 5 Mar 2020 12:17:49 +0000
(09:17 -0300)
committer
Thibault Saunier
<tsaunier@igalia.com>
Thu, 5 Mar 2020 12:17:49 +0000
(09:17 -0300)
By just letting GStreamer choose a good name
gst/transcode/gsttranscodebin.c
patch
|
blob
|
history
diff --git
a/gst/transcode/gsttranscodebin.c
b/gst/transcode/gsttranscodebin.c
index
a30e194
..
2df811f
100644
(file)
--- a/
gst/transcode/gsttranscodebin.c
+++ b/
gst/transcode/gsttranscodebin.c
@@
-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,