mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
gst/: add the nano
Original commit message from CVS: * gst/gst.c: (gst_version): * gst/gstversion.h.in: add the nano
This commit is contained in:
parent
9934f055e9
commit
b2ec3849fd
3 changed files with 21 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gst.c: (gst_version):
|
||||
* gst/gstversion.h.in:
|
||||
add the nano
|
||||
|
||||
2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstevent.h:
|
||||
|
|
|
@ -853,17 +853,20 @@ gst_deinit (void)
|
|||
* @major: pointer to a guint to store the major version number
|
||||
* @minor: pointer to a guint to store the minor version number
|
||||
* @micro: pointer to a guint to store the micro version number
|
||||
* @nano: pointer to a guint to store the nano version number
|
||||
*
|
||||
* Gets the version number of the GStreamer library.
|
||||
*/
|
||||
void
|
||||
gst_version (guint * major, guint * minor, guint * micro)
|
||||
gst_version (guint * major, guint * minor, guint * micro, guint * nano)
|
||||
{
|
||||
g_return_if_fail (major);
|
||||
g_return_if_fail (minor);
|
||||
g_return_if_fail (micro);
|
||||
g_return_if_fail (nano);
|
||||
|
||||
*major = GST_VERSION_MAJOR;
|
||||
*minor = GST_VERSION_MINOR;
|
||||
*micro = GST_VERSION_MICRO;
|
||||
*nano = GST_VERSION_NANO;
|
||||
}
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
* Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer
|
||||
* runtime checks if these plugin and core version match and refuses to use a
|
||||
* plugin compiled against a different version of GStreamer.
|
||||
* You can also use the macros to keep the GStreamer version information in your
|
||||
* application.
|
||||
* You can also use the macros to keep the GStreamer version information in
|
||||
* your application.
|
||||
*
|
||||
* Use the gst_version() function if you want to know which version of
|
||||
* GStreamer you are currently linked against.
|
||||
|
@ -58,8 +58,15 @@ G_BEGIN_DECLS
|
|||
* The micro version of GStreamer at compile time:
|
||||
*/
|
||||
#define GST_VERSION_MICRO (@GST_VERSION_MICRO@)
|
||||
/**
|
||||
* GST_VERSION_NANO:
|
||||
*
|
||||
* The nano version of GStreamer at compile time:
|
||||
* Actual releases have 0, CVS versions have 1, prerelease versions have 2-...
|
||||
*/
|
||||
#define GST_VERSION_NANO (@GST_VERSION_NANO@)
|
||||
|
||||
void gst_version (guint *major, guint *minor, guint *micro);
|
||||
void gst_version (guint *major, guint *minor, guint *micro, guint *nano);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue