mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
audioconvert: remove unused array
This commit is contained in:
parent
7a7950f969
commit
bbb531619c
1 changed files with 0 additions and 8 deletions
|
@ -164,8 +164,6 @@ GST_STATIC_CAPS ( \
|
||||||
"signed = (boolean) { true, false } " \
|
"signed = (boolean) { true, false } " \
|
||||||
)
|
)
|
||||||
|
|
||||||
static GstAudioChannelPosition *supported_positions;
|
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_audio_convert_src_template =
|
static GstStaticPadTemplate gst_audio_convert_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
|
@ -241,17 +239,11 @@ gst_audio_convert_class_init (GstAudioConvertClass * klass)
|
||||||
{
|
{
|
||||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||||
GstBaseTransformClass *basetransform_class = GST_BASE_TRANSFORM_CLASS (klass);
|
GstBaseTransformClass *basetransform_class = GST_BASE_TRANSFORM_CLASS (klass);
|
||||||
gint i;
|
|
||||||
|
|
||||||
gobject_class->dispose = gst_audio_convert_dispose;
|
gobject_class->dispose = gst_audio_convert_dispose;
|
||||||
gobject_class->set_property = gst_audio_convert_set_property;
|
gobject_class->set_property = gst_audio_convert_set_property;
|
||||||
gobject_class->get_property = gst_audio_convert_get_property;
|
gobject_class->get_property = gst_audio_convert_get_property;
|
||||||
|
|
||||||
supported_positions = g_new0 (GstAudioChannelPosition,
|
|
||||||
GST_AUDIO_CHANNEL_POSITION_NUM);
|
|
||||||
for (i = 0; i < GST_AUDIO_CHANNEL_POSITION_NUM; i++)
|
|
||||||
supported_positions[i] = i;
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, ARG_DITHERING,
|
g_object_class_install_property (gobject_class, ARG_DITHERING,
|
||||||
g_param_spec_enum ("dithering", "Dithering",
|
g_param_spec_enum ("dithering", "Dithering",
|
||||||
"Selects between different dithering methods.",
|
"Selects between different dithering methods.",
|
||||||
|
|
Loading…
Reference in a new issue