rtpsession: Add error message if the app tries to set the internal-ssrc
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 13 Dec 2013 22:36:36 +0000 (17:36 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Fri, 13 Dec 2013 22:36:36 +0000 (17:36 -0500)
gst/rtpmanager/rtpsession.c

index 2449f5d..cae09b4 100644 (file)
@@ -607,6 +607,8 @@ 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");
       break;
     case PROP_BANDWIDTH:
       RTP_SESSION_LOCK (sess);