Top | ![]() |
![]() |
![]() |
![]() |
gboolean | ges_init () |
gboolean | ges_is_initialized () |
gboolean | ges_init_check () |
void | ges_deinit () |
void | ges_version () |
#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.