mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
ges: launcher: Never put sinks in a GstPipeline
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4732>
This commit is contained in:
parent
1a2d136438
commit
3bb03179c9
1 changed files with 3 additions and 1 deletions
|
@ -961,7 +961,9 @@ _set_sink (GESLauncher * self, const gchar * sink_desc, SetSinkFunc set_func)
|
||||||
if (sink_desc != NULL) {
|
if (sink_desc != NULL) {
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
GstElement *sink = gst_parse_bin_from_description_full (sink_desc, TRUE,
|
GstElement *sink = gst_parse_bin_from_description_full (sink_desc, TRUE,
|
||||||
NULL, GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS, &err);
|
NULL,
|
||||||
|
GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS | GST_PARSE_FLAG_PLACE_IN_BIN,
|
||||||
|
&err);
|
||||||
if (sink == NULL) {
|
if (sink == NULL) {
|
||||||
GST_ERROR ("could not create the requested videosink %s (err: %s), "
|
GST_ERROR ("could not create the requested videosink %s (err: %s), "
|
||||||
"exiting", err ? err->message : "", sink_desc);
|
"exiting", err ? err->message : "", sink_desc);
|
||||||
|
|
Loading…
Reference in a new issue