rtpsession: allow setting internal-ssrc again
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 26 Dec 2013 09:04:29 +0000 (11:04 +0200)
committerWim Taymans <wtaymans@redhat.com>
Mon, 30 Dec 2013 13:03:05 +0000 (14:03 +0100)
gst/rtpmanager/rtpsession.c

index cae09b4..d42a1d2 100644 (file)
@@ -607,8 +607,9 @@ rtp_session_set_property (GObject * object, guint prop_id,
 
   switch (prop_id) {
     case PROP_INTERNAL_SSRC:
-      GST_ERROR_OBJECT (object, "Setting the \"internal-ssrc\" property"
-          " is deprecated and ignored");
+      RTP_SESSION_LOCK (sess);
+      sess->suggested_ssrc = g_value_get_uint (value);
+      RTP_SESSION_UNLOCK (sess);
       break;
     case PROP_BANDWIDTH:
       RTP_SESSION_LOCK (sess);