cannot use _ in unit names for some reason.

Original commit message from CVS:
cannot use _ in unit names for some reason.
This commit is contained in:
Steve Baker 2002-04-14 11:48:51 +00:00
parent 73f7bf6677
commit b5e2109686

View file

@ -210,8 +210,8 @@ _gst_unitconv_initialize (void)
0, G_MAXFLOAT, 0, 0));
gst_unitconv_register_unit("frequency", FALSE, TRUE,
g_param_spec_float("rate_proportion", "rate proportion", "Proportion of the sample rate",
0, 1, 0, 0));
g_param_spec_float("rate-proportion", "rate proportion", "Proportion of the sample rate",
0.0, 1.0, 0.0, 0));
gst_unitconv_register_unit("frequency", FALSE, FALSE,
g_param_spec_string("twelve_tone_scale", "note", "Name of the note from the western twelve tone scale",
@ -245,7 +245,7 @@ _gst_unitconv_initialize (void)
-G_MAXFLOAT, G_MAXFLOAT, 0, 0));
gst_unitconv_register_unit("magnitude", FALSE, FALSE,
g_param_spec_int("scalar_int", "scalar int", "Magnitude as an integer scalar",
g_param_spec_int("scalar-int", "scalar int", "Magnitude as an integer scalar",
G_MININT, G_MAXINT, 0, 0));
gst_unitconv_register_unit("magnitude", FALSE, TRUE,