mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtspsrc: Give the manager always the name "manager"
This allows to use the GstChildProxy interface to adjust properties on it.
This commit is contained in:
parent
a8e7cd0860
commit
53dae1585e
1 changed files with 2 additions and 2 deletions
|
@ -2513,7 +2513,7 @@ gst_rtspsrc_stream_configure_manager (GstRTSPSrc * src, GstRTSPStream * stream,
|
|||
GObjectClass *klass;
|
||||
GstState target;
|
||||
|
||||
if (!(src->manager = gst_element_factory_make (manager, NULL))) {
|
||||
if (!(src->manager = gst_element_factory_make (manager, "manager"))) {
|
||||
/* fallback */
|
||||
if (gst_rtsp_transport_get_manager (transport->trans, &manager, 1) < 0)
|
||||
goto no_manager;
|
||||
|
@ -2521,7 +2521,7 @@ gst_rtspsrc_stream_configure_manager (GstRTSPSrc * src, GstRTSPStream * stream,
|
|||
if (!manager)
|
||||
goto use_no_manager;
|
||||
|
||||
if (!(src->manager = gst_element_factory_make (manager, NULL)))
|
||||
if (!(src->manager = gst_element_factory_make (manager, "manager")))
|
||||
goto manager_failed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue