diff options
author | Miguel París Díaz <mparisdiaz@gmail.com> | 2015-09-11 11:22:35 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-09-11 23:33:19 +0200 |
commit | 25f0787c1c09757799f7f3dcc6a8cf09d69b9298 (patch) | |
tree | f62d402cc240e42ff30195acc3be1012d2730e76 /ext/opus | |
parent | f000cd4963b810b66aa7b8969b40fcf697a05259 (diff) | |
download | gstreamer-plugins-bad-25f0787c1c09757799f7f3dcc6a8cf09d69b9298.tar.gz |
opusenc: improve deprecated properties docs
https://bugzilla.gnome.org/show_bug.cgi?id=754819
Diffstat (limited to 'ext/opus')
-rw-r--r-- | ext/opus/gstopusenc.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c index e47b9eee0..7fad24881 100644 --- a/ext/opus/gstopusenc.c +++ b/ext/opus/gstopusenc.c @@ -285,8 +285,8 @@ gst_opus_enc_class_init (GstOpusEncClass * klass) g_object_class_install_property (gobject_class, PROP_AUDIO, g_param_spec_boolean ("audio", - "Audio or voice (obsolete, use audio-type)", - "Audio or voice (obsolete, use audio-type)", DEFAULT_AUDIO, + "Audio or voice", + "Audio or voice (DEPRECATED: use audio-type)", DEFAULT_AUDIO, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_DEPRECATED)); g_object_class_install_property (gobject_class, PROP_AUDIO_TYPE, g_param_spec_enum ("audio-type", "What type of audio to optimize for", @@ -310,19 +310,19 @@ gst_opus_enc_class_init (GstOpusEncClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_class, PROP_CBR, - g_param_spec_boolean ("cbr", "Constant bit rate", "Constant bit rate", - DEFAULT_CBR, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | - GST_PARAM_MUTABLE_PLAYING | G_PARAM_DEPRECATED)); + g_param_spec_boolean ("cbr", "Constant bit rate", + "Constant bit rate (DEPRECATED: use bitrate-type)", DEFAULT_CBR, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING + | G_PARAM_DEPRECATED)); g_object_class_install_property (gobject_class, PROP_CONSTRAINED_VBR, g_param_spec_boolean ("constrained-vbr", "Constrained VBR", - "Constrained VBR", DEFAULT_CONSTRAINED_VBR, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | - GST_PARAM_MUTABLE_PLAYING | G_PARAM_DEPRECATED)); + "Constrained VBR (DEPRECATED: use bitrate-type)", + DEFAULT_CONSTRAINED_VBR, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING + | G_PARAM_DEPRECATED)); g_object_class_install_property (gobject_class, PROP_BITRATE_TYPE, - g_param_spec_enum ("bitrate-type", "Bitrate type", - "Bitrate type", GST_OPUS_ENC_TYPE_BITRATE_TYPE, - DEFAULT_BITRATE_TYPE, + g_param_spec_enum ("bitrate-type", "Bitrate type", "Bitrate type", + GST_OPUS_ENC_TYPE_BITRATE_TYPE, DEFAULT_BITRATE_TYPE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_class, PROP_COMPLEXITY, |