Fix invalid GEnumValue.value_name entries.

This makes the enum entries in the gir have valid c:identifiers and documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=730691
This commit is contained in:
Christoph Reiter 2014-05-24 19:16:12 +02:00 committed by Thibault Saunier
parent 4494296830
commit ba2b4920b6

View file

@ -159,366 +159,222 @@ ges_edge_get_type (void)
} }
static GEnumValue transition_types[] = { static GEnumValue transition_types[] = {
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE,
0, "GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE",
"Transition has not been set", "none"},
"none"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR",
{ "bar-wipe-lr"},
1, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB,
"A bar moves from left to right", "GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB",
"bar-wipe-lr"} "bar-wipe-tb"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL",
2, "box-wipe-tl"},
"A bar moves from top to bottom", {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR,
"bar-wipe-tb"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR",
, "box-wipe-tr"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR,
3, "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR",
"A box expands from the upper-left corner to the lower-right corner", "box-wipe-br"},
"box-wipe-tl"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL",
{ "box-wipe-bl"},
4, {GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI,
"A box expands from the upper-right corner to the lower-left corner", "GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI",
"box-wipe-tr"} "four-box-wipe-ci"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO",
5, "four-box-wipe-co"},
"A box expands from the lower-right corner to the upper-left corner", {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V,
"box-wipe-br"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V",
, "barndoor-v"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H,
6, "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H",
"A box expands from the lower-left corner to the upper-right corner", "barndoor-h"},
"box-wipe-bl"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC",
{ "box-wipe-tc"},
7, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC,
"A box shape expands from each of the four corners toward the center", "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC",
"four-box-wipe-ci"} "box-wipe-rc"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC",
8, "box-wipe-bc"},
"A box shape expands from the center of each quadrant toward the corners of each quadrant", {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC,
"four-box-wipe-co"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC",
, "box-wipe-lc"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL,
21, "GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL",
"A central, vertical line splits and expands toward the left and right edges", "diagonal-tl"},
"barndoor-v"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR",
{ "diagonal-tr"},
22, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V,
"A central, horizontal line splits and expands toward the top and bottom edges", "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V",
"barndoor-h"} "bowtie-v"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H",
23, "bowtie-h"},
"A box expands from the top edge's midpoint to the bottom corners", {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL,
"box-wipe-tc"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL",
, "barndoor-dbl"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL,
24, "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL",
"A box expands from the right edge's midpoint to the left corners", "barndoor-dtl"},
"box-wipe-rc"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD",
{ "misc-diagonal-dbd"},
25, {GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD,
"A box expands from the bottom edge's midpoint to the top corners", "GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD",
"box-wipe-bc"} "misc-diagonal-dd"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D",
26, "vee-d"},
"A box expands from the left edge's midpoint to the right corners", {GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L,
"box-wipe-lc"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L",
, "vee-l"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U,
41, "GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U",
"A diagonal line moves from the upper-left corner to the lower-right corner", "vee-u"},
"diagonal-tl"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R",
{ "vee-r"},
42, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D,
"A diagonal line moves from the upper right corner to the lower-left corner", "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D",
"diagonal-tr"} "barnvee-d"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L",
43, "barnvee-l"},
"Two wedge shapes slide in from the top and bottom edges toward the center", {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U,
"bowtie-v"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U",
, "barnvee-u"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R,
44, "GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R",
"Two wedge shapes slide in from the left and right edges toward the center", "barnvee-r"},
"bowtie-h"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT",
{ "iris-rect"},
45, {GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12,
"A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners", "GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12",
"barndoor-dbl"} "clock-cw12"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3",
46, "clock-cw3"},
"A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners", {GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6,
"barndoor-dtl"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6",
, "clock-cw6"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9,
47, "GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9",
"Four wedge shapes split from the center and retract toward the four edges", "clock-cw9"},
"misc-diagonal-dbd"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV",
{ "pinwheel-tbv"},
48, {GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH,
"A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges", "GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH",
"misc-diagonal-dd"} "pinwheel-tbh"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB",
61, "pinwheel-fb"},
"A wedge shape moves from top to bottom", {GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT,
"vee-d"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT",
, "fan-ct"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR,
62, "GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR",
"A wedge shape moves from right to left", "fan-cr"},
"vee-l"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV",
{ "doublefan-fov"},
63, {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH,
"A wedge shape moves from bottom to top", "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH",
"vee-u"} "doublefan-foh"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT",
64, "singlesweep-cwt"},
"A wedge shape moves from left to right", {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR,
"vee-r"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR",
, "singlesweep-cwr"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB,
65, "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB",
"A 'V' shape extending from the bottom edge's midpoint to the opposite corners contracts toward the center and expands toward the edges", "singlesweep-cwb"},
"barnvee-d"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL",
{ "singlesweep-cwl"},
66, {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV,
"A 'V' shape extending from the left edge's midpoint to the opposite corners contracts toward the center and expands toward the edges", "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV",
"barnvee-l"} "doublesweep-pv"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD",
67, "doublesweep-pd"},
"A 'V' shape extending from the top edge's midpoint to the opposite corners contracts toward the center and expands toward the edges", {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV,
"barnvee-u"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV",
, "doublesweep-ov"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH,
68, "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH",
"A 'V' shape extending from the right edge's midpoint to the opposite corners contracts toward the center and expands toward the edges", "doublesweep-oh"},
"barnvee-r"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T",
{ "fan-t"},
101, {GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R,
"A rectangle expands from the center.", "GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R",
"iris-rect"} "fan-r"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B",
201, "fan-b"},
"A radial hand sweeps clockwise from the twelve o'clock position", {GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L,
"clock-cw12"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L",
, "fan-l"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV,
202, "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV",
"A radial hand sweeps clockwise from the three o'clock position", "doublefan-fiv"},
"clock-cw3"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH",
{ "doublefan-fih"},
203, {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL,
"A radial hand sweeps clockwise from the six o'clock position", "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL",
"clock-cw6"} "singlesweep-cwtl"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL",
204, "singlesweep-cwbl"},
"A radial hand sweeps clockwise from the nine o'clock position", {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR,
"clock-cw9"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR",
, "singlesweep-cwbr"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR,
205, "GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR",
"Two radial hands sweep clockwise from the twelve and six o'clock positions", "singlesweep-cwtr"},
"pinwheel-tbv"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL",
{ "doublesweep-pdtl"},
206, {GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL,
"Two radial hands sweep clockwise from the nine and three o'clock positions", "GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL",
"pinwheel-tbh"} "doublesweep-pdbl"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T",
207, "saloondoor-t"},
"Four radial hands sweep clockwise", {GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L,
"pinwheel-fb"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L",
, "saloondoor-l"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B,
211, "GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B",
"A fan unfolds from the top edge, the fan axis at the center", "saloondoor-b"},
"fan-ct"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R",
{ "saloondoor-r"},
212, {GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R,
"A fan unfolds from the right edge, the fan axis at the center", "GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R",
"fan-cr"} "windshield-r"},
, {GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U,
{ "GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U",
213, "windshield-u"},
"Two fans, their axes at the center, unfold from the top and bottom", {GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V,
"doublefan-fov"} "GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V",
, "windshield-v"},
{ {GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H,
214, "GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H",
"Two fans, their axes at the center, unfold from the left and right", "windshield-h"},
"doublefan-foh"} {GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE,
, "GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE",
{ "crossfade"},
221,
"A radial hand sweeps clockwise from the top edge's midpoint",
"singlesweep-cwt"}
,
{
222,
"A radial hand sweeps clockwise from the right edge's midpoint",
"singlesweep-cwr"}
,
{
223,
"A radial hand sweeps clockwise from the bottom edge's midpoint",
"singlesweep-cwb"}
,
{
224,
"A radial hand sweeps clockwise from the left edge's midpoint",
"singlesweep-cwl"}
,
{
225,
"Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges' midpoints",
"doublesweep-pv"}
,
{
226,
"Two radial hands sweep clockwise and counter-clockwise from the left and right edges' midpoints",
"doublesweep-pd"}
,
{
227,
"Two radial hands attached at the top and bottom edges' midpoints sweep from right to left",
"doublesweep-ov"}
,
{
228,
"Two radial hands attached at the left and right edges' midpoints sweep from top to bottom",
"doublesweep-oh"}
,
{
231,
"A fan unfolds from the bottom, the fan axis at the top edge's midpoint",
"fan-t"}
,
{
232,
"A fan unfolds from the left, the fan axis at the right edge's midpoint",
"fan-r"}
,
{
233,
"A fan unfolds from the top, the fan axis at the bottom edge's midpoint",
"fan-b"}
,
{
234,
"A fan unfolds from the right, the fan axis at the left edge's midpoint",
"fan-l"}
,
{
235,
"Two fans, their axes at the top and bottom, unfold from the center",
"doublefan-fiv"}
,
{
236,
"Two fans, their axes at the left and right, unfold from the center",
"doublefan-fih"}
,
{
241,
"A radial hand sweeps clockwise from the upper-left corner",
"singlesweep-cwtl"}
,
{
242,
"A radial hand sweeps counter-clockwise from the lower-left corner.",
"singlesweep-cwbl"}
,
{
243,
"A radial hand sweeps clockwise from the lower-right corner",
"singlesweep-cwbr"}
,
{
244,
"A radial hand sweeps counter-clockwise from the upper-right corner",
"singlesweep-cwtr"}
,
{
245,
"Two radial hands attached at the upper-left and lower-right corners sweep down and up",
"doublesweep-pdtl"}
,
{
246,
"Two radial hands attached at the lower-left and upper-right corners sweep down and up",
"doublesweep-pdbl"}
,
{
251,
"Two radial hands attached at the upper-left and upper-right corners sweep down",
"saloondoor-t"}
,
{
252,
"Two radial hands attached at the upper-left and lower-left corners sweep to the right",
"saloondoor-l"}
,
{
253,
"Two radial hands attached at the lower-left and lower-right corners sweep up",
"saloondoor-b"}
,
{
254,
"Two radial hands attached at the upper-right and lower-right corners sweep to the left",
"saloondoor-r"}
,
{
261,
"Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left",
"windshield-r"}
,
{
262,
"Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom",
"windshield-u"}
,
{
263,
"Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top",
"windshield-v"}
,
{
264,
"Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left",
"windshield-h"}
,
{
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE,
"Crossfade between two clips",
"crossfade"}
,
{0, NULL, NULL} {0, NULL, NULL}
}; };
@ -561,11 +417,11 @@ ges_text_valign_get_type (void)
static GType text_overlay_valign_type = 0; static GType text_overlay_valign_type = 0;
static gsize initialized = 0; static gsize initialized = 0;
static const GEnumValue text_overlay_valign[] = { static const GEnumValue text_overlay_valign[] = {
{GES_TEXT_VALIGN_BASELINE, "baseline", "baseline"}, {GES_TEXT_VALIGN_BASELINE, "GES_TEXT_VALIGN_BASELINE", "baseline"},
{GES_TEXT_VALIGN_BOTTOM, "bottom", "bottom"}, {GES_TEXT_VALIGN_BOTTOM, "GES_TEXT_VALIGN_BOTTOM", "bottom"},
{GES_TEXT_VALIGN_TOP, "top", "top"}, {GES_TEXT_VALIGN_TOP, "GES_TEXT_VALIGN_TOP", "top"},
{GES_TEXT_VALIGN_POSITION, "position", "position"}, {GES_TEXT_VALIGN_POSITION, "GES_TEXT_VALIGN_POSITION", "position"},
{GES_TEXT_VALIGN_CENTER, "center", "center"}, {GES_TEXT_VALIGN_CENTER, "GES_TEXT_VALIGN_CENTER", "center"},
{0, NULL, NULL}, {0, NULL, NULL},
}; };
@ -583,10 +439,10 @@ ges_text_halign_get_type (void)
static GType text_overlay_halign_type = 0; static GType text_overlay_halign_type = 0;
static gsize initialized = 0; static gsize initialized = 0;
static const GEnumValue text_overlay_halign[] = { static const GEnumValue text_overlay_halign[] = {
{GES_TEXT_HALIGN_LEFT, "left", "left"}, {GES_TEXT_HALIGN_LEFT, "GES_TEXT_HALIGN_LEFT", "left"},
{GES_TEXT_HALIGN_CENTER, "center", "center"}, {GES_TEXT_HALIGN_CENTER, "GES_TEXT_HALIGN_CENTER", "center"},
{GES_TEXT_HALIGN_RIGHT, "right", "right"}, {GES_TEXT_HALIGN_RIGHT, "GES_TEXT_HALIGN_RIGHT", "right"},
{GES_TEXT_HALIGN_POSITION, "position", "position"}, {GES_TEXT_HALIGN_POSITION, "GES_TEXT_HALIGN_POSITION", "position"},
{0, NULL, NULL}, {0, NULL, NULL},
}; };
@ -600,42 +456,47 @@ ges_text_halign_get_type (void)
/* table more-or-less copied from gstvideotestsrc.c */ /* table more-or-less copied from gstvideotestsrc.c */
static GEnumValue vpattern_enum_values[] = { static GEnumValue vpattern_enum_values[] = {
{GES_VIDEO_TEST_PATTERN_SMPTE, "SMPTE 100% color bars", "smpte"} {GES_VIDEO_TEST_PATTERN_SMPTE, "GES_VIDEO_TEST_PATTERN_SMPTE", "smpte"}
, ,
{GES_VIDEO_TEST_PATTERN_SNOW, "Random (television snow)", "snow"} {GES_VIDEO_TEST_PATTERN_SNOW, "GES_VIDEO_TEST_PATTERN_SNOW", "snow"}
, ,
{GES_VIDEO_TEST_PATTERN_BLACK, "100% Black", "black"} {GES_VIDEO_TEST_PATTERN_BLACK, "GES_VIDEO_TEST_PATTERN_BLACK", "black"}
, ,
{GES_VIDEO_TEST_PATTERN_WHITE, "100% White", "white"} {GES_VIDEO_TEST_PATTERN_WHITE, "GES_VIDEO_TEST_PATTERN_WHITE", "white"}
, ,
{GES_VIDEO_TEST_PATTERN_RED, "Red", "red"} {GES_VIDEO_TEST_PATTERN_RED, "GES_VIDEO_TEST_PATTERN_RED", "red"}
, ,
{GES_VIDEO_TEST_PATTERN_GREEN, "Green", "green"} {GES_VIDEO_TEST_PATTERN_GREEN, "GES_VIDEO_TEST_PATTERN_GREEN", "green"}
, ,
{GES_VIDEO_TEST_PATTERN_BLUE, "Blue", "blue"} {GES_VIDEO_TEST_PATTERN_BLUE, "GES_VIDEO_TEST_PATTERN_BLUE", "blue"}
, ,
{GES_VIDEO_TEST_PATTERN_CHECKERS1, "Checkers 1px", "checkers-1"} {GES_VIDEO_TEST_PATTERN_CHECKERS1,
"GES_VIDEO_TEST_PATTERN_CHECKERS1", "checkers-1"}
, ,
{GES_VIDEO_TEST_PATTERN_CHECKERS2, "Checkers 2px", "checkers-2"} {GES_VIDEO_TEST_PATTERN_CHECKERS2,
"GES_VIDEO_TEST_PATTERN_CHECKERS2", "checkers-2"}
, ,
{GES_VIDEO_TEST_PATTERN_CHECKERS4, "Checkers 4px", "checkers-4"} {GES_VIDEO_TEST_PATTERN_CHECKERS4,
"GES_VIDEO_TEST_PATTERN_CHECKERS4", "checkers-4"}
, ,
{GES_VIDEO_TEST_PATTERN_CHECKERS8, "Checkers 8px", "checkers-8"} {GES_VIDEO_TEST_PATTERN_CHECKERS8,
"GES_VIDEO_TEST_PATTERN_CHECKERS8", "checkers-8"}
, ,
{GES_VIDEO_TEST_PATTERN_CIRCULAR, "Circular", "circular"} {GES_VIDEO_TEST_PATTERN_CIRCULAR,
"GES_VIDEO_TEST_PATTERN_CIRCULAR", "circular"}
, ,
{GES_VIDEO_TEST_PATTERN_BLINK, "Blink", "blink"} {GES_VIDEO_TEST_PATTERN_BLINK, "GES_VIDEO_TEST_PATTERN_BLINK", "blink"}
, ,
{GES_VIDEO_TEST_PATTERN_SMPTE75, "SMPTE 75% color bars", "smpte75"} {GES_VIDEO_TEST_PATTERN_SMPTE75, "GES_VIDEO_TEST_PATTERN_SMPTE75", "smpte75"}
, ,
{GES_VIDEO_TEST_ZONE_PLATE, "Zone plate", "zone-plate"} {GES_VIDEO_TEST_ZONE_PLATE, "GES_VIDEO_TEST_ZONE_PLATE", "zone-plate"}
, ,
{GES_VIDEO_TEST_GAMUT, "Gamut checkers", "gamut"} {GES_VIDEO_TEST_GAMUT, "GES_VIDEO_TEST_GAMUT", "gamut"}
, ,
{GES_VIDEO_TEST_CHROMA_ZONE_PLATE, "Chroma zone plate", {GES_VIDEO_TEST_CHROMA_ZONE_PLATE, "GES_VIDEO_TEST_CHROMA_ZONE_PLATE",
"chroma-zone-plate"} "chroma-zone-plate"}
, ,
{GES_VIDEO_TEST_PATTERN_SOLID, "Solid color", "solid-color"} {GES_VIDEO_TEST_PATTERN_SOLID, "GES_VIDEO_TEST_PATTERN_SOLID", "solid-color"}
, ,
{0, NULL, NULL} {0, NULL, NULL}
}; };