mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
various: canonicalize property names
This commit is contained in:
parent
3bb4b5069e
commit
26cd4ee3a0
4 changed files with 5 additions and 5 deletions
|
@ -415,7 +415,7 @@ gst_lame_class_init (GstLameClass * klass)
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
/* compression ratio set to 0.0 by default otherwise it overrides the bitrate setting */
|
/* compression ratio set to 0.0 by default otherwise it overrides the bitrate setting */
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass),
|
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",
|
"Compression Ratio",
|
||||||
"let lame choose bitrate to achieve selected compression ratio", 0.0,
|
"let lame choose bitrate to achieve selected compression ratio", 0.0,
|
||||||
200.0, gst_lame_default_settings.compression_ratio,
|
200.0, gst_lame_default_settings.compression_ratio,
|
||||||
|
|
|
@ -213,7 +213,7 @@ gst_mad_class_init (GstMadClass * klass)
|
||||||
g_param_spec_boolean ("half", "Half", "Generate PCM at 1/2 sample rate",
|
g_param_spec_boolean ("half", "Half", "Generate PCM at 1/2 sample rate",
|
||||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (gobject_class, ARG_IGNORE_CRC,
|
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));
|
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/* register tags */
|
/* register tags */
|
||||||
|
|
|
@ -216,14 +216,14 @@ gst_siddec_class_init (GstSidDec * klass)
|
||||||
g_param_spec_boolean ("filter", "filter", "filter", DEFAULT_FILTER,
|
g_param_spec_boolean ("filter", "filter", "filter", DEFAULT_FILTER,
|
||||||
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MEASURED_VOLUME,
|
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,
|
"measured_volume", DEFAULT_MEASURED_VOLUME,
|
||||||
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MOS8580,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MOS8580,
|
||||||
g_param_spec_boolean ("mos8580", "mos8580", "mos8580", DEFAULT_MOS8580,
|
g_param_spec_boolean ("mos8580", "mos8580", "mos8580", DEFAULT_MOS8580,
|
||||||
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_FORCE_SPEED,
|
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,
|
DEFAULT_FORCE_SPEED,
|
||||||
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
(GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BLOCKSIZE,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BLOCKSIZE,
|
||||||
|
|
|
@ -167,7 +167,7 @@ gst_mpeg_parse_class_init (GstMPEGParseClass * klass)
|
||||||
gst_static_pad_template_get (&sink_factory));
|
gst_static_pad_template_get (&sink_factory));
|
||||||
|
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MAX_SCR_GAP,
|
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 "
|
"Maximum allowed gap between expected and actual "
|
||||||
"SCR values. -1 means never adjust.", -1, G_MAXINT,
|
"SCR values. -1 means never adjust.", -1, G_MAXINT,
|
||||||
DEFAULT_MAX_SCR_GAP, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
DEFAULT_MAX_SCR_GAP, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
Loading…
Reference in a new issue