summaryrefslogtreecommitdiff
path: root/gst/adpcmenc/adpcmenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/adpcmenc/adpcmenc.c')
-rw-r--r--gst/adpcmenc/adpcmenc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gst/adpcmenc/adpcmenc.c b/gst/adpcmenc/adpcmenc.c
index 7a8faabe3..36d336c90 100644
--- a/gst/adpcmenc/adpcmenc.c
+++ b/gst/adpcmenc/adpcmenc.c
@@ -84,9 +84,9 @@ static const int ima_step_size[89] = {
enum adpcm_properties
{
- ARG_0,
- ARG_BLOCK_SIZE,
- ARG_LAYOUT
+ PROP_0,
+ PROP_BLOCK_SIZE,
+ PROP_LAYOUT
};
enum adpcm_layout
@@ -200,10 +200,10 @@ adpcmenc_set_property (GObject * object,
ADPCMEnc *enc = GST_ADPCM_ENC (object);
switch (prop_id) {
- case ARG_BLOCK_SIZE:
+ case PROP_BLOCK_SIZE:
enc->blocksize = g_value_get_int (value);
break;
- case ARG_LAYOUT:
+ case PROP_LAYOUT:
enc->layout = g_value_get_enum (value);
break;
default:
@@ -219,10 +219,10 @@ adpcmenc_get_property (GObject * object,
ADPCMEnc *enc = GST_ADPCM_ENC (object);
switch (prop_id) {
- case ARG_BLOCK_SIZE:
+ case PROP_BLOCK_SIZE:
g_value_set_int (value, enc->blocksize);
break;
- case ARG_LAYOUT:
+ case PROP_LAYOUT:
g_value_set_enum (value, enc->layout);
break;
default:
@@ -450,13 +450,13 @@ adpcmenc_class_init (ADPCMEncClass * klass)
base_class->set_format = GST_DEBUG_FUNCPTR (adpcmenc_set_format);
base_class->handle_frame = GST_DEBUG_FUNCPTR (adpcmenc_handle_frame);
- g_object_class_install_property (gobjectclass, ARG_LAYOUT,
+ g_object_class_install_property (gobjectclass, PROP_LAYOUT,
g_param_spec_enum ("layout", "Layout",
"Layout for output stream",
GST_TYPE_ADPCMENC_LAYOUT, DEFAULT_ADPCM_LAYOUT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- g_object_class_install_property (gobjectclass, ARG_BLOCK_SIZE,
+ g_object_class_install_property (gobjectclass, PROP_BLOCK_SIZE,
g_param_spec_int ("blockalign", "Block Align",
"Block size for output stream",
MIN_ADPCM_BLOCK_SIZE, MAX_ADPCM_BLOCK_SIZE,