summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-media-factory.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-08-16 13:27:39 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2011-08-16 13:27:39 +0200
commitccfb99f8521a85622e9e231d816838ecedd276c1 (patch)
tree76d07b424a13a1828c955e767d934c9bb37be6b3 /gst/rtsp-server/rtsp-media-factory.c
parent5b53335873fbca3285d31f4a3c355779fc12b88b (diff)
media-factory: configure multicast in media
Diffstat (limited to 'gst/rtsp-server/rtsp-media-factory.c')
-rw-r--r--gst/rtsp-server/rtsp-media-factory.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c
index 3dd6559..4106e61 100644
--- a/gst/rtsp-server/rtsp-media-factory.c
+++ b/gst/rtsp-server/rtsp-media-factory.c
@@ -793,6 +793,7 @@ default_configure (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
gboolean shared, eos_shutdown;
guint size;
GstRTSPAuth *auth;
+ gchar *mc;
/* configure the sharedness */
GST_RTSP_MEDIA_FACTORY_LOCK (factory);
@@ -809,4 +810,8 @@ default_configure (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
gst_rtsp_media_set_auth (media, auth);
g_object_unref (auth);
}
+ if ((mc = gst_rtsp_media_factory_get_multicast_group (factory))) {
+ gst_rtsp_media_set_multicast_group (media, mc);
+ g_free (mc);
+ }
}