gst/rtp/gstrtph263ppay.c: Fix enum registration.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 21 May 2007 09:29:30 +0000 (09:29 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 21 May 2007 09:29:30 +0000 (09:29 +0000)
Original commit message from CVS:
* gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type),
(gst_rtp_h263p_pay_flush):
Fix enum registration.

ChangeLog
gst/rtp/gstrtph263ppay.c

index 10ac54d..b81bbe8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-05-21  Wim Taymans  <wim@fluendo.com>
 
+       * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type),
+       (gst_rtp_h263p_pay_flush):
+       Fix enum registration.
+
+2007-05-21  Wim Taymans  <wim@fluendo.com>
+
        Patch by: Antoine Tremblay <hexa00 at gmail dot com>
 
        * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type),
index 4c38768..7deffef 100644 (file)
@@ -40,7 +40,7 @@ static GType
 gst_fragmentation_mode_get_type (void)
 {
   static GType fragmentation_mode_type = 0;
-  static const GFlagsValue fragmentation_mode[] = {
+  static const GEnumValue fragmentation_mode[] = {
     {GST_FRAGMENTATION_MODE_NORMAL, "Normal", "normal"},
     {GST_FRAGMENTATION_MODE_SYNC, "Fragment at sync points", "sync"},
     {0, NULL, NULL},
@@ -48,7 +48,7 @@ gst_fragmentation_mode_get_type (void)
 
   if (!fragmentation_mode_type) {
     fragmentation_mode_type =
-        g_flags_register_static ("GstFragmentationMode", fragmentation_mode);
+        g_enum_register_static ("GstFragmentationMode", fragmentation_mode);
   }
   return fragmentation_mode_type;
 }