![]() |
![]() |
![]() |
GStreamer Base Plugins 1.0 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <gst/pbutils/gstpluginsbaseversion.h> #define GST_PLUGINS_BASE_VERSION_MAJOR #define GST_PLUGINS_BASE_VERSION_MINOR #define GST_PLUGINS_BASE_VERSION_MICRO #define GST_PLUGINS_BASE_VERSION_NANO #define GST_CHECK_PLUGINS_BASE_VERSION (major, minor, micro) void gst_plugins_base_version (guint *major
,guint *minor
,guint *micro
,guint *nano
); gchar * gst_plugins_base_version_string (void
);
Use the GST_PLUGINS_BASE_VERSION_* macros e.g. to check what version of
gst-plugins-base you are building against, and gst_plugins_base_version()
if you need to check at runtime what version of the gst-plugins-base
libraries are being used / you are currently linked against.
The version macros get defined by including <gst/pbutils/pbutils.h>.
#define GST_PLUGINS_BASE_VERSION_MAJOR (1)
The major version of GStreamer's gst-plugins-base libraries at compile time.
#define GST_PLUGINS_BASE_VERSION_MINOR (0)
The minor version of GStreamer's gst-plugins-base libraries at compile time.
#define GST_PLUGINS_BASE_VERSION_MICRO (6)
The micro version of GStreamer's gst-plugins-base libraries at compile time.
#define GST_PLUGINS_BASE_VERSION_NANO (0)
The nano version of GStreamer's gst-plugins-base libraries at compile time. Actual releases have 0, GIT versions have 1, prerelease versions have 2-...
void gst_plugins_base_version (guint *major
,guint *minor
,guint *micro
,guint *nano
);
Gets the version number of the GStreamer Plugins Base libraries.
|
pointer to a guint to store the major version number, or NULL . [out]
|
|
pointer to a guint to store the minor version number, or NULL . [out]
|
|
pointer to a guint to store the micro version number, or NULL . [out]
|
|
pointer to a guint to store the nano version number, or NULL . [out]
|
gchar * gst_plugins_base_version_string (void
);
This function returns a string that is useful for describing this version of GStreamer's gst-plugins-base libraries to the outside world: user agent strings, logging, about dialogs ...
Returns : |
a newly allocated string describing this version of gst-plugins-base |