--- a/gstreamer_core/gst/gstversion.h Wed Mar 31 22:03:18 2010 +0300
+++ b/gstreamer_core/gst/gstversion.h Tue Aug 31 15:30:33 2010 +0300
@@ -57,15 +57,32 @@
*
* The micro version of GStreamer at compile time:
*/
-#define GST_VERSION_MICRO (19) //rj
+#define GST_VERSION_MICRO (24)
/**
* GST_VERSION_NANO:
*
* The nano version of GStreamer at compile time:
- * Actual releases have 0, CVS versions have 1, prerelease versions have 2-...
+ * Actual releases have 0, GIT versions have 1, prerelease versions have 2-...
*/
#define GST_VERSION_NANO (0)
+/**
+ * GST_CHECK_VERSION:
+ * @major: a number indicating the major version
+ * @minor: a number indicating the minor version
+ * @micro: a number indicating the micro version
+ *
+ * Check whether a GStreamer version equal to or greater than
+ * major.minor.micro is present.
+ *
+ * Since: 0.10.18
+ */
+#define GST_CHECK_VERSION(major,minor,micro) \
+ (GST_VERSION_MAJOR > (major) || \
+ (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \
+ (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \
+ GST_VERSION_MICRO >= (micro)))
+
G_END_DECLS
#endif /* __GST_VERSION_H__ */