mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
audioresample: Add a proper deprecation comment and also drop G_PARAM_CONSTRUCT.
The comment will ensure that is is marked properly in the docs and the GParamSpecflag was causing a duplicated initialisation of the same value.
This commit is contained in:
parent
ad1dea3122
commit
c6ab453eed
1 changed files with 8 additions and 2 deletions
|
@ -181,10 +181,16 @@ gst_audio_resample_class_init (GstAudioResampleClass * klass)
|
|||
/* FIXME 0.11: Remove this property, it's just for compatibility
|
||||
* with old audioresample
|
||||
*/
|
||||
/**
|
||||
* GstAudioResample:filter-length:
|
||||
*
|
||||
* Length of the resample filter
|
||||
*
|
||||
* Deprectated: Use #GstAudioResample:quality property instead
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_FILTER_LENGTH,
|
||||
g_param_spec_int ("filter-length", "Filter length",
|
||||
"DEPRECATED, DON'T USE THIS! " "Length of the resample filter", 0,
|
||||
G_MAXINT, 64, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
"Length of the resample filter", 0, G_MAXINT, 64, G_PARAM_READWRITE));
|
||||
|
||||
GST_BASE_TRANSFORM_CLASS (klass)->start =
|
||||
GST_DEBUG_FUNCPTR (gst_audio_resample_start);
|
||||
|
|
Loading…
Reference in a new issue