diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-05-21 09:29:30 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-05-21 09:29:30 +0000 |
commit | 20dc422e40bf25f8355d078d3a65d771b0e220d3 (patch) | |
tree | 5ede4b8bde159e5f9a523e5b0c44407ab575505f /gst/rtp/gstrtph263ppay.c | |
parent | 0ff05f8195d5b64bdad8c34e52462bd19510aa2c (diff) |
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.
Diffstat (limited to 'gst/rtp/gstrtph263ppay.c')
-rw-r--r-- | gst/rtp/gstrtph263ppay.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |