Initialization

Initialization

Functions

Includes

#include <ges/ges.h>

Description

Functions

ges_init ()

gboolean
ges_init (void);

Initialize the GStreamer Editing Service. Call this before any usage of GES. You should take care of initilizing GStreamer before calling this function.


ges_init_check ()

gboolean
ges_init_check (int *argc,
                char **argv[],
                GError **err);

Initializes the GStreamer Editing Services library, setting up internal path lists, and loading evrything needed.

This function will return FALSE if GES could not be initialized for some reason.

Parameters

argc

pointer to application's argc.

[inout][allow-none]

argv

pointer to application's argv.

[inout][array length=argc][allow-none]

err

pointer to a GError to which a message will be posted on error

 

Returns

TRUE if GES could be initialized.


ges_version ()

void
ges_version (guint *major,
             guint *minor,
             guint *micro,
             guint *nano);

Gets the version number of the GStreamer Editing Services library.

Parameters

major

pointer to a guint to store the major version number.

[out]

minor

pointer to a guint to store the minor version number.

[out]

micro

pointer to a guint to store the micro version number.

[out]

nano

pointer to a guint to store the nano version number.

[out]

ges_init_get_option_group ()

GOptionGroup *
ges_init_get_option_group (void);

Returns a GOptionGroup with GES's argument specifications. The group is set up to use standard GOption callbacks, so when using this group in combination with GOption parsing methods, all argument parsing and initialization is automated.

This function is useful if you want to integrate GES with other libraries that use GOption (see g_option_context_add_group() ).

If you use this function, you should make sure you initialise the GStreamer as one of the very first things in your program.

[skip]

Returns

a pointer to GES's option group.

[transfer full]


GES_VERSION_MAJOR

#define GES_VERSION_MAJOR (1)

GES_VERSION_MICRO

#define GES_VERSION_MICRO (2)

GES_VERSION_MINOR

#define GES_VERSION_MINOR (5)

GES_VERSION_NANO

#define GES_VERSION_NANO  (0)

Types and Values