# Version

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>.

## Functions

### gst_plugins_base_version

    gst_plugins_base_version (guint* major,
                              guint* minor,
                              guint* micro,
                              guint* nano)

Gets the version number of the GStreamer Plugins Base libraries.

Parameters:

`major` ( [out]) –

pointer to a guint to store the major version number, or NULL

`minor` ( [out]) –

pointer to a guint to store the minor version number, or NULL

`micro` ( [out]) –

pointer to a guint to store the micro version number, or NULL

`nano` ( [out]) –

pointer to a guint to store the nano version number, or NULL

### GstPbutils.prototype.plugins_base_version

    function GstPbutils.prototype.plugins_base_version(): {
        // javascript wrapper for 'gst_plugins_base_version'
    }

Gets the version number of the GStreamer Plugins Base libraries.

### GstPbutils.plugins_base_version

    def GstPbutils.plugins_base_version ():
        #python wrapper for 'gst_plugins_base_version'

Gets the version number of the GStreamer Plugins Base libraries.

### gst_plugins_base_version_string

    gchar*
    gst_plugins_base_version_string ()

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

### GstPbutils.prototype.plugins_base_version_string

    function GstPbutils.prototype.plugins_base_version_string(): {
        // javascript wrapper for 'gst_plugins_base_version_string'
    }

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 (String) –

a newly allocated string describing this version of gst-plugins-base

### GstPbutils.plugins_base_version_string

    def GstPbutils.plugins_base_version_string ():
        #python wrapper for 'gst_plugins_base_version_string'

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 (str) –

a newly allocated string describing this version of gst-plugins-base

The results of the search are