Don't use name for gstrtpbin so we can add multiple instances to the pipeline
authorSebastian <sebastian@ubuntu.(none)>
Fri, 12 Jun 2009 20:22:40 +0000 (22:22 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 18 Jun 2009 13:54:01 +0000 (15:54 +0200)
gst/rtsp-server/rtsp-media.c

index fdf4a7b..3ee45b3 100644 (file)
@@ -1281,7 +1281,7 @@ gst_rtsp_media_prepare (GstRTSPMedia *media)
   klass = GST_RTSP_MEDIA_GET_CLASS (media);
   media->id = g_source_attach (media->source, klass->context);
 
-  media->rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
+  media->rtpbin = gst_element_factory_make ("gstrtpbin", NULL);
 
   /* add stuff to the bin */
   gst_bin_add (GST_BIN (media->pipeline), media->rtpbin);