| #define | GES_VERSION_MAJOR |
| #define | GES_VERSION_MICRO |
| #define | GES_VERSION_MINOR |
| #define | GES_VERSION_NANO |
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.
MT safety.
GStreamer Editing Services do not guarantee MT safety.
An application is required to use GES APIs (including ges_deinit())
in the thread where ges_init() was called.
gboolean
ges_is_initialized (void);
Use this function to check if GES has been initialized with ges_init()
or ges_init_check().
Since: 1.16
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.
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 |
void
ges_deinit (void);
Clean up any resources created by GES in ges_init().
It is normally not needed to call this function in a normal application as the
resources will automatically be freed when the program terminates.
This function is therefore mostly used by testsuites and other memory profiling tools.
This function should be called from the thread where ges_init() was called.
After this call GES should not be used until another ges_init() call.
void ges_version (guint *major,guint *minor,guint *micro,guint *nano);
Gets the version number of the GStreamer Editing Services library.
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. That means you need to
use gst_init_get_option_group() and add it to the option context before
using the ges_init_get_option_group() result.
[skip]