gmerlin
Data Fields
bg_encoder_callbacks_s Struct Reference

Callbacks for the encoder plugin. More...

#include <plugin.h>

Data Fields

int(* create_output_file )(void *data, const char *filename)
 Output file callback. More...
 
int(* create_temp_file )(void *data, const char *filename)
 Temp file callback. More...
 
void * data
 Application specific data passed as the first argument to all callbacks. More...
 

Detailed Description

Callbacks for the encoder plugin.

Field Documentation

int(* bg_encoder_callbacks_s::create_output_file)(void *data, const char *filename)

Output file callback.

Parameters
dataThe data member of this bg_ov_callbacks_s struct
filenameName of the created file
Returns
1 if the file may be created, 0 else

This is called whenever an output file is created.

int(* bg_encoder_callbacks_s::create_temp_file)(void *data, const char *filename)

Temp file callback.

Parameters
dataThe data member of this bg_ov_callbacks_s struct
filenameName of the created file
Returns
1 if the file may be created, 0 else

This is called whenever a temporary file is created.

void* bg_encoder_callbacks_s::data

Application specific data passed as the first argument to all callbacks.


The documentation for this struct was generated from the following file: