server: Set ghost pad active in gst_rtsp_media_factory_collect_streams
authorSebastian Pölsterl <sebp@k-d-w.org>
Sat, 21 Nov 2009 00:00:39 +0000 (01:00 +0100)
committerSebastian Pölsterl <sebp@k-d-w.org>
Sat, 21 Nov 2009 18:20:23 +0000 (19:20 +0100)
gst/rtsp-server/rtsp-media-factory.c

index 2110ea953af652aa800f7bbf6016a8e46a72674d..31823ce8fd5ef27937013d43638e4ecee2b9579c 100644 (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);