add new invalid enum type
authorBrandon Lewis <brandon@collabora.co.uk>
Thu, 8 Jul 2010 11:41:12 +0000 (13:41 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 9 Jul 2010 11:21:18 +0000 (13:21 +0200)
ges/ges-enums.c
ges/ges-enums.h

index 8d2eedc..6e694da 100644 (file)
@@ -48,6 +48,11 @@ ges_track_type_get_type (void)
 
 GEnumValue transition_types[] = {
   {
+        0,
+        "Transition has not been set",
+      "none"}
+  ,
+  {
         1,
         "A bar moves from left to right",
       "bar-wipe-lr"}
index 137c35a..d26f796 100644 (file)
@@ -54,6 +54,7 @@ typedef enum {
 
 /**
  * GESVideoTransitionType:
+ * @GES_VIDEO_TRANSITION_TYPE_NONE: Transition type has not been set,
  * @GES_VIDEO_TRANSITION_TYPE_BAR_WIPE_LR: A bar moves from left to right,
  * @GES_VIDEO_TRANSITION_TYPE_BAR_WIPE_TB: A bar moves from top to bottom,
  * @GES_VIDEO_TRANSITION_TYPE_BOX_WIPE_TL: A box expands from the upper-left corner to the lower-right corner,
@@ -129,6 +130,7 @@ typedef enum {
  */
 
 typedef enum {
+  GES_VIDEO_TRANSITION_TYPE_NONE = 0,
   GES_VIDEO_TRANSITION_TYPE_BAR_WIPE_LR = 1,
   GES_VIDEO_TRANSITION_TYPE_BAR_WIPE_TB = 2,
   GES_VIDEO_TRANSITION_TYPE_BOX_WIPE_TL = 3,