various: canonicalize property names

This commit is contained in:
Stefan Kost 2010-10-19 12:20:40 +03:00
parent 3bb4b5069e
commit 26cd4ee3a0
4 changed files with 5 additions and 5 deletions

View file

@ -415,7 +415,7 @@ gst_lame_class_init (GstLameClass * klass)
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* compression ratio set to 0.0 by default otherwise it overrides the bitrate setting */
g_object_class_install_property (G_OBJECT_CLASS (klass),
ARG_COMPRESSION_RATIO, g_param_spec_float ("compression_ratio",
ARG_COMPRESSION_RATIO, g_param_spec_float ("compression-ratio",
"Compression Ratio",
"let lame choose bitrate to achieve selected compression ratio", 0.0,
200.0, gst_lame_default_settings.compression_ratio,

View file

@ -213,7 +213,7 @@ gst_mad_class_init (GstMadClass * klass)
g_param_spec_boolean ("half", "Half", "Generate PCM at 1/2 sample rate",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_IGNORE_CRC,
g_param_spec_boolean ("ignore_crc", "Ignore CRC", "Ignore CRC errors",
g_param_spec_boolean ("ignore-crc", "Ignore CRC", "Ignore CRC errors",
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* register tags */

View file

@ -216,14 +216,14 @@ gst_siddec_class_init (GstSidDec * klass)
g_param_spec_boolean ("filter", "filter", "filter", DEFAULT_FILTER,
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MEASURED_VOLUME,
g_param_spec_boolean ("measured_volume", "measured_volume",
g_param_spec_boolean ("measured-volume", "measured_volume",
"measured_volume", DEFAULT_MEASURED_VOLUME,
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MOS8580,
g_param_spec_boolean ("mos8580", "mos8580", "mos8580", DEFAULT_MOS8580,
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_FORCE_SPEED,
g_param_spec_boolean ("force_speed", "force_speed", "force_speed",
g_param_spec_boolean ("force-speed", "force_speed", "force_speed",
DEFAULT_FORCE_SPEED,
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BLOCKSIZE,

View file

@ -167,7 +167,7 @@ gst_mpeg_parse_class_init (GstMPEGParseClass * klass)
gst_static_pad_template_get (&sink_factory));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MAX_SCR_GAP,
g_param_spec_int ("max_scr_gap", "Max SCR gap",
g_param_spec_int ("max-scr-gap", "Max SCR gap",
"Maximum allowed gap between expected and actual "
"SCR values. -1 means never adjust.", -1, G_MAXINT,
DEFAULT_MAX_SCR_GAP, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));