gmerlin
Data Fields
bg_e_pp_callbacks_t Struct Reference

Callbacks for postprocessing. More...

#include <plugin.h>

Data Fields

void(* action_callback )(void *data, char *action)
 Callback describing the current action. More...
 
void(* progress_callback )(void *data, float perc)
 Callback describing the progress of the current action. More...
 
void * data
 Application specific data passed as the first argument to all callbacks. More...
 

Detailed Description

Callbacks for postprocessing.

Field Documentation

void(* bg_e_pp_callbacks_t::action_callback)(void *data, char *action)

Callback describing the current action.

Parameters
dataThe data member of this bg_ov_callbacks_s struct
actionA string describing the current action

Action can be something like "Burning track 1/10".

void(* bg_e_pp_callbacks_t::progress_callback)(void *data, float perc)

Callback describing the progress of the current action.

Parameters
dataThe data member of this bg_ov_callbacks_s struct
percPercentage (0.0 .. 1.0)

This is exclusively for updating progress bars in GUI applications. Note, that some postprocessors reset the progress during postprocessing.

void* bg_e_pp_callbacks_t::data

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


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