server: Set ghost pad active in gst_rtsp_media_factory_collect_streams

This commit is contained in:
Sebastian Pölsterl 2009-11-21 01:00:39 +01:00
parent f8604a6bc7
commit 87fbfa54a0

View file

@ -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);