gstreamer: win32: update for version changes
Tim Müller
tpm at kemper.freedesktop.org
Sun Apr 8 10:26:11 PDT 2012
Module: gstreamer
Branch: master
Commit: d13efc1569d573071e5646b2ad9c86f7f6a99216
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=d13efc1569d573071e5646b2ad9c86f7f6a99216
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Sun Apr 8 18:25:39 2012 +0100
win32: update for version changes
---
win32/common/config.h | 22 +++++++++++-----------
win32/common/gstenumtypes.c | 25 +++++++++++++++++++++++++
win32/common/gstenumtypes.h | 4 ++++
win32/common/gstversion.h | 6 +++---
4 files changed, 43 insertions(+), 14 deletions(-)
diff --git a/win32/common/config.h b/win32/common/config.h
index eb1588e..512211c 100644
--- a/win32/common/config.h
+++ b/win32/common/config.h
@@ -17,7 +17,7 @@
#undef ENABLE_SUBUNIT
/* gettext package name */
-#define GETTEXT_PACKAGE "gstreamer-0.11"
+#define GETTEXT_PACKAGE "gstreamer-1.0"
/* The GIO library directory. */
#undef GIO_LIBDIR
@@ -25,6 +25,9 @@
/* The GIO modules directory. */
#undef GIO_MODULE_DIR
+/* GStreamer API Version */
+#define GST_API_VERSION "1.0"
+
/* data dir */
#define GST_DATADIR PREFIX "\\share"
@@ -52,17 +55,14 @@
/* GStreamer license */
#define GST_LICENSE "LGPL"
-/* library major.minor version */
-#define GST_API_VERSION "0.11"
-
/* package name in plugins */
-#define GST_PACKAGE_NAME "GStreamer source release"
+#define GST_PACKAGE_NAME "GStreamer git"
/* package origin */
#define GST_PACKAGE_ORIGIN "Unknown package origin"
/* GStreamer package release date/time for plugins as YYYY-MM-DD */
-#define GST_PACKAGE_RELEASE_DATETIME "2012-03-22"
+#define GST_PACKAGE_RELEASE_DATETIME "2012-04-07T14:43Z"
/* location of the installed gst-plugin-scanner */
#define GST_PLUGIN_SCANNER_INSTALLED LIBDIR "\\gst-plugin-scanner"
@@ -334,7 +334,7 @@
#define PACKAGE_NAME "GStreamer"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GStreamer 0.11.3"
+#define PACKAGE_STRING "GStreamer 0.11.89.1"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gstreamer"
@@ -343,13 +343,13 @@
#undef PACKAGE_URL
/* Define to the version of this package. */
-#define PACKAGE_VERSION "0.11.3"
+#define PACKAGE_VERSION "0.11.89.1"
/* directory where plugins are located */
#ifdef _DEBUG
-# define PLUGINDIR PREFIX "\\debug\\lib\\gstreamer-0.11"
+# define PLUGINDIR PREFIX "\\debug\\lib\\gstreamer-1.0"
#else
-# define PLUGINDIR PREFIX "\\lib\\gstreamer-0.11"
+# define PLUGINDIR PREFIX "\\lib\\gstreamer-1.0"
#endif
/* The size of `char', as computed by sizeof. */
@@ -374,7 +374,7 @@
#undef USE_POISONING
/* Version number of package */
-#define VERSION "0.11.3"
+#define VERSION "0.11.89.1"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
diff --git a/win32/common/gstenumtypes.c b/win32/common/gstenumtypes.c
index 3041192..92103ec 100644
--- a/win32/common/gstenumtypes.c
+++ b/win32/common/gstenumtypes.c
@@ -580,6 +580,7 @@ gst_event_type_get_type (void)
{C_ENUM (GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize"},
{C_ENUM (GST_EVENT_SINK_MESSAGE), "GST_EVENT_SINK_MESSAGE", "sink-message"},
{C_ENUM (GST_EVENT_EOS), "GST_EVENT_EOS", "eos"},
+ {C_ENUM (GST_EVENT_TOC), "GST_EVENT_TOC", "toc"},
{C_ENUM (GST_EVENT_SEGMENT_DONE), "GST_EVENT_SEGMENT_DONE", "segment-done"},
{C_ENUM (GST_EVENT_GAP), "GST_EVENT_GAP", "gap"},
{C_ENUM (GST_EVENT_QOS), "GST_EVENT_QOS", "qos"},
@@ -588,6 +589,7 @@ gst_event_type_get_type (void)
{C_ENUM (GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency"},
{C_ENUM (GST_EVENT_STEP), "GST_EVENT_STEP", "step"},
{C_ENUM (GST_EVENT_RECONFIGURE), "GST_EVENT_RECONFIGURE", "reconfigure"},
+ {C_ENUM (GST_EVENT_TOC_SELECT), "GST_EVENT_TOC_SELECT", "toc-select"},
{C_ENUM (GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM",
"custom-upstream"},
{C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM",
@@ -814,6 +816,7 @@ gst_message_type_get_type (void)
{C_FLAGS (GST_MESSAGE_STEP_START), "GST_MESSAGE_STEP_START", "step-start"},
{C_FLAGS (GST_MESSAGE_QOS), "GST_MESSAGE_QOS", "qos"},
{C_FLAGS (GST_MESSAGE_PROGRESS), "GST_MESSAGE_PROGRESS", "progress"},
+ {C_FLAGS (GST_MESSAGE_TOC), "GST_MESSAGE_TOC", "toc"},
{C_FLAGS (GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any"},
{0, NULL, NULL}
};
@@ -1386,6 +1389,7 @@ gst_query_type_get_type (void)
{C_ENUM (GST_QUERY_ACCEPT_CAPS), "GST_QUERY_ACCEPT_CAPS", "accept-caps"},
{C_ENUM (GST_QUERY_CAPS), "GST_QUERY_CAPS", "caps"},
{C_ENUM (GST_QUERY_DRAIN), "GST_QUERY_DRAIN", "drain"},
+ {C_ENUM (GST_QUERY_TOC), "GST_QUERY_TOC", "toc"},
{0, NULL, NULL}
};
@@ -1585,6 +1589,27 @@ gst_task_state_get_type (void)
return (GType) id;
}
+/* enumerations from "gsttoc.h" */
+GType
+gst_toc_entry_type_get_type (void)
+{
+ static gsize id = 0;
+ static const GEnumValue values[] = {
+ {C_ENUM (GST_TOC_ENTRY_TYPE_CHAPTER), "GST_TOC_ENTRY_TYPE_CHAPTER",
+ "chapter"},
+ {C_ENUM (GST_TOC_ENTRY_TYPE_EDITION), "GST_TOC_ENTRY_TYPE_EDITION",
+ "edition"},
+ {0, NULL, NULL}
+ };
+
+ if (g_once_init_enter (&id)) {
+ GType tmp = g_enum_register_static ("GstTocEntryType", values);
+ g_once_init_leave (&id, tmp);
+ }
+
+ return (GType) id;
+}
+
/* enumerations from "gsttypefind.h" */
GType
gst_type_find_probability_get_type (void)
diff --git a/win32/common/gstenumtypes.h b/win32/common/gstenumtypes.h
index 4b69896..d8dcca4 100644
--- a/win32/common/gstenumtypes.h
+++ b/win32/common/gstenumtypes.h
@@ -192,6 +192,10 @@ GType gst_tag_flag_get_type (void);
GType gst_task_state_get_type (void);
#define GST_TYPE_TASK_STATE (gst_task_state_get_type())
+/* enumerations from "gsttoc.h" */
+GType gst_toc_entry_type_get_type (void);
+#define GST_TYPE_TOC_ENTRY_TYPE (gst_toc_entry_type_get_type())
+
/* enumerations from "gsttypefind.h" */
GType gst_type_find_probability_get_type (void);
#define GST_TYPE_TYPE_FIND_PROBABILITY (gst_type_find_probability_get_type())
diff --git a/win32/common/gstversion.h b/win32/common/gstversion.h
index 381685f..312fa11 100644
--- a/win32/common/gstversion.h
+++ b/win32/common/gstversion.h
@@ -45,19 +45,19 @@ G_BEGIN_DECLS
*
* The major version of GStreamer at compile time:
*/
-#define GST_VERSION_MAJOR (0)
+#define GST_VERSION_MAJOR (1)
/**
* GST_VERSION_MINOR:
*
* The minor version of GStreamer at compile time:
*/
-#define GST_VERSION_MINOR (11)
+#define GST_VERSION_MINOR (0)
/**
* GST_VERSION_MICRO:
*
* The micro version of GStreamer at compile time:
*/
-#define GST_VERSION_MICRO (3)
+#define GST_VERSION_MICRO (0)
/**
* GST_VERSION_NANO:
*
More information about the gstreamer-commits
mailing list