opusenc: improve deprecated properties docs

https://bugzilla.gnome.org/show_bug.cgi?id=754819
This commit is contained in:
Miguel París Díaz 2015-09-11 11:22:35 +02:00 committed by Sebastian Dröge
parent 16e93d206f
commit a4ffb14c55

View file

@ -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,