opusenc: improve inband-fec property documentation

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2853>
This commit is contained in:
Tim-Philipp Müller 2022-08-09 18:06:41 +01:00 committed by GStreamer Marge Bot
parent 82025897c4
commit a13fd0ead5
2 changed files with 3 additions and 2 deletions

View file

@ -7870,7 +7870,7 @@
"writable": true "writable": true
}, },
"inband-fec": { "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, "conditionally-available": false,
"construct": false, "construct": false,
"construct-only": false, "construct-only": false,

View file

@ -325,7 +325,8 @@ gst_opus_enc_class_init (GstOpusEncClass * klass)
GST_PARAM_MUTABLE_PLAYING)); GST_PARAM_MUTABLE_PLAYING));
g_object_class_install_property (gobject_class, PROP_INBAND_FEC, g_object_class_install_property (gobject_class, PROP_INBAND_FEC,
g_param_spec_boolean ("inband-fec", "In-band 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 | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
GST_PARAM_MUTABLE_PLAYING)); GST_PARAM_MUTABLE_PLAYING));
g_object_class_install_property (gobject_class, PROP_DTX, g_object_class_install_property (gobject_class, PROP_DTX,