From a13fd0ead554310f917ea798c02d3394f845ef23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 9 Aug 2022 18:06:41 +0100 Subject: [PATCH] opusenc: improve inband-fec property documentation Part-of: --- subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json | 2 +- subprojects/gst-plugins-base/ext/opus/gstopusenc.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json index c4afc36..b8c0164 100644 --- a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json @@ -7870,7 +7870,7 @@ "writable": true }, "inband-fec": { - "blurb": "Enable forward error correction", + "blurb": "Enable in-band forward error correction (use in combination with the packet-loss-percentage property)", "conditionally-available": false, "construct": false, "construct-only": false, diff --git a/subprojects/gst-plugins-base/ext/opus/gstopusenc.c b/subprojects/gst-plugins-base/ext/opus/gstopusenc.c index 805ccd7..6f1fc2b 100644 --- a/subprojects/gst-plugins-base/ext/opus/gstopusenc.c +++ b/subprojects/gst-plugins-base/ext/opus/gstopusenc.c @@ -325,7 +325,8 @@ gst_opus_enc_class_init (GstOpusEncClass * klass) GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_class, PROP_INBAND_FEC, g_param_spec_boolean ("inband-fec", "In-band FEC", - "Enable forward error correction", DEFAULT_INBAND_FEC, + "Enable in-band forward error correction (use in combination with " + "the packet-loss-percentage property)", DEFAULT_INBAND_FEC, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_class, PROP_DTX, -- 2.7.4