mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
server: Set ghost pad active in gst_rtsp_media_factory_collect_streams
This commit is contained in:
parent
f8604a6bc7
commit
87fbfa54a0
1 changed files with 1 additions and 0 deletions
|
@ -430,6 +430,7 @@ gst_rtsp_media_factory_collect_streams (GstRTSPMediaFactory *factory, const GstR
|
|||
|
||||
/* ghost the pad of the payloader to the element */
|
||||
stream->srcpad = gst_ghost_pad_new (name, pad);
|
||||
gst_pad_set_active (stream->srcpad, TRUE);
|
||||
gst_element_add_pad (media->element, stream->srcpad);
|
||||
gst_object_unref (elem);
|
||||
|
||||
|
|
Loading…
Reference in a new issue