bilboed gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst-libs/gst/tag/

[email protected] Wed, 31 Dec 2008 05:32:09 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     bilboed
Date:           Wed Dec 31 2008  13:32:09 UTC

Log message:
* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_result_get_type):
* gst-libs/gst/tag/gsttagdemux.h:
Add GType for GstTagDemuxResult enum.

Modified files:
    .               : ChangeLog
    gst-libs/gst/tag: gsttagdemux.c gsttagdemux.h

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4265&r2=1.4266
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/tag/gsttagdemux.c.diff?r1=1.7&r2=1.8
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/tag/gsttagdemux.h.diff?r1=1.2&r2=1.3

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4265
retrieving revision 1.4266
diff -u -d -r1.4265 -r1.4266
--- ChangeLog	31 Dec 2008 13:01:28 -0000	1.4265
+++ ChangeLog	31 Dec 2008 13:31:53 -0000	1.4266
@@ -1,5 +1,11 @@
 2008-12-31  Edward Hervey  <[email protected]>
 
+	* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_result_get_type):
+	* gst-libs/gst/tag/gsttagdemux.h:
+	Add GType for GstTagDemuxResult enum.
+
+2008-12-31  Edward Hervey  <[email protected]>
 	* gst-libs/gst/video/Makefile.am:
 	* gst-libs/gst/video/video.h:
 	Add glib-mkenum for GstVideoFormat enum GTYPE auto-generation.
Index: gsttagdemux.c
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/tag/gsttagdemux.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gsttagdemux.c	22 Sep 2008 17:44:14 -0000	1.7
+++ gsttagdemux.c	31 Dec 2008 13:31:55 -0000	1.8
@@ -163,6 +163,23 @@
 static gpointer parent_class;   /* NULL */
+GType
+gst_tag_demux_result_get_type (void)
+{
+  static GType etype = 0;
+  if (etype == 0) {
+    static const GEnumValue values[] = {
+      {GST_TAG_DEMUX_RESULT_BROKEN_TAG, "GST_TAG_DEMUX_RESULT_BROKEN_TAG",
+            "broken-tag"},
+      {GST_TAG_DEMUX_RESULT_AGAIN, "GST_TAG_DEMUX_RESULT_AGAIN", "again"},
+      {GST_TAG_DEMUX_RESULT_OK, "GST_TAG_DEMUX_RESULT_OK", "ok"},
+      {0, NULL, NULL}
+    };
+    etype = g_enum_register_static ("GstTagDemuxResult", values);
+  }
+  return etype;
+}
 /* Cannot use boilerplate macros here because we want the abstract flag */
 GType
 gst_tag_demux_get_type (void)
Index: gsttagdemux.h
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/tag/gsttagdemux.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gsttagdemux.h	11 Aug 2008 08:34:56 -0000	1.2
+++ gsttagdemux.h	31 Dec 2008 13:31:55 -0000	1.3
@@ -51,6 +51,9 @@
   GST_TAG_DEMUX_RESULT_OK
 } GstTagDemuxResult;
+GType gst_tag_demux_result_get_type (void);
+#define GST_TYPE_TAG_DEMUX_RESULT (gst_tag_demux_result_get_type())
 /**
  * GstTagDemux:
  * @element: parent element

------------------------------------------------------------------------------