From 29a661d4a41fee2227d2578e7991214b99d3bf1c Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 8 Jun 2020 11:33:16 -0400 Subject: [PATCH] rtpsession: Make internal-ssrc as show default for doc --- docs/gst_plugins_cache.json | 2 +- gst/rtpmanager/rtpsession.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/gst_plugins_cache.json b/docs/gst_plugins_cache.json index 9a26d7eebf..900bf24d42 100644 --- a/docs/gst_plugins_cache.json +++ b/docs/gst_plugins_cache.json @@ -34322,7 +34322,7 @@ "construct": false, "construct-only": false, "controllable": false, - "default": "299638488", + "default": "0", "max": "-1", "min": "0", "mutable": "playing", diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 36a8657269..c7a35d01c8 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -452,7 +452,9 @@ rtp_session_class_init (RTPSessionClass * klass) g_object_class_install_property (gobject_class, PROP_INTERNAL_SSRC, g_param_spec_uint ("internal-ssrc", "Internal SSRC", "The internal SSRC used for the session (deprecated)", - 0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + 0, G_MAXUINT, 0, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | + GST_PARAM_DOC_SHOW_DEFAULT)); g_object_class_install_property (gobject_class, PROP_INTERNAL_SOURCE, g_param_spec_object ("internal-source", "Internal Source",