From 20dc422e40bf25f8355d078d3a65d771b0e220d3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 21 May 2007 09:29:30 +0000 Subject: gst/rtp/gstrtph263ppay.c: Fix enum registration. Original commit message from CVS: * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type), (gst_rtp_h263p_pay_flush): Fix enum registration. --- ChangeLog | 6 ++++++ gst/rtp/gstrtph263ppay.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10ac54d9..b81bbe8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-05-21 Wim Taymans + + * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type), + (gst_rtp_h263p_pay_flush): + Fix enum registration. + 2007-05-21 Wim Taymans Patch by: Antoine Tremblay diff --git a/gst/rtp/gstrtph263ppay.c b/gst/rtp/gstrtph263ppay.c index 4c387688..7deffeff 100644 --- a/gst/rtp/gstrtph263ppay.c +++ b/gst/rtp/gstrtph263ppay.c @@ -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; } -- cgit