mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Revert "rtsp-media: Only add 1 fakesink per pipeline"
This reverts commit 22bf61f16c
.
This commit is contained in:
parent
22bf61f16c
commit
160b87430f
1 changed files with 5 additions and 5 deletions
|
@ -2516,12 +2516,12 @@ start_prepare (GstRTSPMedia * media)
|
||||||
(GCallback) no_more_pads_cb, media);
|
(GCallback) no_more_pads_cb, media);
|
||||||
|
|
||||||
g_object_set_data (G_OBJECT (elem), "gst-rtsp-dynpay-handlers", handlers);
|
g_object_set_data (G_OBJECT (elem), "gst-rtsp-dynpay-handlers", handlers);
|
||||||
}
|
|
||||||
|
|
||||||
/* we add a fakesink here in order to make the state change async. We remove
|
/* we add a fakesink here in order to make the state change async. We remove
|
||||||
* the fakesink again in the no-more-pads callback. */
|
* the fakesink again in the no-more-pads callback. */
|
||||||
priv->fakesink = gst_element_factory_make ("fakesink", "fakesink");
|
priv->fakesink = gst_element_factory_make ("fakesink", "fakesink");
|
||||||
gst_bin_add (GST_BIN (priv->pipeline), priv->fakesink);
|
gst_bin_add (GST_BIN (priv->pipeline), priv->fakesink);
|
||||||
|
}
|
||||||
|
|
||||||
if (!start_preroll (media))
|
if (!start_preroll (media))
|
||||||
goto preroll_failed;
|
goto preroll_failed;
|
||||||
|
|
Loading…
Reference in a new issue