From 7ee57702a8223875b6cc1fabb943bdd535196665 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 25 Aug 2011 14:09:37 +0200 Subject: [PATCH] buffer: pluralize the buffer flags --- gst/gst.c | 4 ++-- gst/gstbuffer.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/gst.c b/gst/gst.c index 667650d546..7445220a6c 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -687,7 +687,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data, g_type_class_ref (gst_object_flags_get_type ()); g_type_class_ref (gst_bin_flags_get_type ()); - g_type_class_ref (gst_buffer_flag_get_type ()); + g_type_class_ref (gst_buffer_flags_get_type ()); g_type_class_ref (gst_buffer_copy_flags_get_type ()); g_type_class_ref (gst_bus_flags_get_type ()); g_type_class_ref (gst_bus_sync_reply_get_type ()); @@ -1053,7 +1053,7 @@ gst_deinit (void) g_type_class_unref (g_type_class_peek (gst_index_factory_get_type ())); g_type_class_unref (g_type_class_peek (gst_object_flags_get_type ())); g_type_class_unref (g_type_class_peek (gst_bin_flags_get_type ())); - g_type_class_unref (g_type_class_peek (gst_buffer_flag_get_type ())); + g_type_class_unref (g_type_class_peek (gst_buffer_flags_get_type ())); g_type_class_unref (g_type_class_peek (gst_buffer_copy_flags_get_type ())); g_type_class_unref (g_type_class_peek (gst_bus_flags_get_type ())); g_type_class_unref (g_type_class_peek (gst_bus_sync_reply_get_type ())); diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h index 8d4c692532..e977583bb4 100644 --- a/gst/gstbuffer.h +++ b/gst/gstbuffer.h @@ -158,7 +158,7 @@ typedef struct _GstBufferPool GstBufferPool; #define GST_BUFFER_IS_DISCONT(buffer) (GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_DISCONT)) /** - * GstBufferFlag: + * GstBufferFlags: * @GST_BUFFER_FLAG_LIVE: the buffer is live data and should be discarded in * the PAUSED state. * @GST_BUFFER_FLAG_DISCONT: the buffer marks a discontinuity in the stream. @@ -189,7 +189,7 @@ typedef enum { GST_BUFFER_FLAG_MEDIA3 = (GST_MINI_OBJECT_FLAG_LAST << 7), GST_BUFFER_FLAG_MEDIA4 = (GST_MINI_OBJECT_FLAG_LAST << 8), GST_BUFFER_FLAG_LAST = (GST_MINI_OBJECT_FLAG_LAST << 16) -} GstBufferFlag; +} GstBufferFlags; /** * GstBuffer: