ext/lame/gstlame.c: describe the enum values for vbr mode and presets more verbosely

Original commit message from CVS:
2004-08-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_vbrmode_get_type),
(gst_lame_preset_get_type), (gst_lame_class_init):
describe the enum values for vbr mode and presets more verbosely
This commit is contained in:
Zaheer Abbas Merali 2004-08-15 13:47:00 +00:00
parent 8722272eb0
commit d3f92857b5
2 changed files with 15 additions and 9 deletions

View file

@ -1,3 +1,9 @@
2004-08-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* ext/lame/gstlame.c: (gst_lame_vbrmode_get_type),
(gst_lame_preset_get_type), (gst_lame_class_init):
describe the enum values for vbr mode and presets more verbosely
2004-08-13 Zaheer Abbas Merali <zaheerabbas at merali dot org> 2004-08-13 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* ext/lame/gstlame.c: (gst_lame_mode_get_type), * ext/lame/gstlame.c: (gst_lame_mode_get_type),

View file

@ -130,10 +130,10 @@ gst_lame_vbrmode_get_type (void)
{ {
static GType lame_vbrmode_type = 0; static GType lame_vbrmode_type = 0;
static GEnumValue lame_vbrmode[] = { static GEnumValue lame_vbrmode[] = {
{vbr_off, "0", "CBR"}, {vbr_off, "cbr", "No VBR (Constant Bitrate)"},
{vbr_mt, "1", "VBR MT"}, {vbr_rh, "old", "Lame's old VBR algorithm"},
{vbr_rh, "2", "VBR RH"}, {vbr_abr, "abr", "VBR Average Bitrate"},
{vbr_abr, "3", "VBR ABR"}, {vbr_mtrh, "new", "Lame's new VBR algorithm"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
@ -150,11 +150,11 @@ gst_lame_preset_get_type (void)
{ {
static GType gst_lame_preset = 0; static GType gst_lame_preset = 0;
static GEnumValue gst_lame_presets[] = { static GEnumValue gst_lame_presets[] = {
{0, "0", "None"}, {0, "none", "None"},
{MEDIUM, "1", "Medium"}, {MEDIUM, "medium", "Medium"},
{STANDARD, "2", "Standard"}, {STANDARD, "standard", "Standard"},
{EXTREME, "3", "Extreme"}, {EXTREME, "extreme", "Extreme"},
{INSANE, "4", "Insane"}, {INSANE, "insane", "Insane"},
{0, NULL, NULL} {0, NULL, NULL}
}; };