GstVersion

GstVersion — GStreamer version macros.

Synopsis


#include <gst/gst.h>


#define     GST_VERSION_MAJOR
#define     GST_VERSION_MINOR
#define     GST_VERSION_MICRO
void        gst_version                     (guint *major,
                                             guint *minor,
                                             guint *micro);

Description

Use these macros e.g. when defining own plugins. The version macros get defined by including "gst/gst.h".

Details

GST_VERSION_MAJOR

#define GST_VERSION_MAJOR (0)

The major version of GStreamer at compile time


GST_VERSION_MINOR

#define GST_VERSION_MINOR (8)

The minor version of GStreamer at compile time


GST_VERSION_MICRO

#define GST_VERSION_MICRO (9)

The micro version of GStreamer at compile time


gst_version ()

void        gst_version                     (guint *major,
                                             guint *minor,
                                             guint *micro);

Gets the version number of the GStreamer library.

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