Functions | |
void | bg_plugin_registry_set_default (bg_plugin_registry_t *reg, bg_plugin_type_t type, const char *plugin_name) |
Set the default for a particular plugin type. | |
const bg_plugin_info_t * | bg_plugin_registry_get_default (bg_plugin_registry_t *reg, bg_plugin_type_t type) |
Set the default for a particular plugin type. | |
void | bg_plugin_registry_set_encode_audio_to_video (bg_plugin_registry_t *reg, int audio_to_video) |
Specify whether audio should be encoded into the same file as the video if possible. | |
int | bg_plugin_registry_get_encode_audio_to_video (bg_plugin_registry_t *reg) |
Query whether audio should be encoded into the same file as the video if possible. | |
void | bg_plugin_registry_set_encode_subtitle_text_to_video (bg_plugin_registry_t *reg, int subtitle_text_to_video) |
Specify whether text subtitles should be encoded into the same file as the video if possible. | |
int | bg_plugin_registry_get_encode_subtitle_text_to_video (bg_plugin_registry_t *reg) |
Query whether text subtitles should be encoded into the same file as the video if possible. | |
void | bg_plugin_registry_set_encode_subtitle_overlay_to_video (bg_plugin_registry_t *reg, int subtitle_overlay_to_video) |
Specify whether overlay subtitles should be encoded into the same file as the video if possible. | |
int | bg_plugin_registry_get_encode_subtitle_overlay_to_video (bg_plugin_registry_t *reg) |
Query whether overlay subtitles should be encoded into the same file as the video if possible. | |
void | bg_plugin_registry_set_encode_pp (bg_plugin_registry_t *reg, int encode_pp) |
Specify whether postprocessing should be done after encoding. | |
int | bg_plugin_registry_get_encode_pp (bg_plugin_registry_t *reg) |
Query whether postprocessing should be done after encoding. | |
void | bg_plugin_registry_set_visualize (bg_plugin_registry_t *reg, int enable) |
Specify whether visualizations should be enabled. | |
int | bg_plugin_registry_get_visualize (bg_plugin_registry_t *reg) |
Query whether visualizations should be enabled. |
The registry stores a complete plugin setup for any kind of application. This includes the default plugins (see bg_plugin_registry_get_default and bg_plugin_registry_set_default), their parameters, as well as flags, whether encoded streams should be multiplexed or not. It's up the the application if these informations are used or not.
These infos play no role inside the registry, but they are saved and reloaded between sessions.
void bg_plugin_registry_set_default | ( | bg_plugin_registry_t * | reg, | |
bg_plugin_type_t | type, | |||
const char * | plugin_name | |||
) |
Set the default for a particular plugin type.
reg | A plugin registry | |
type | The type for which the default will be set | |
plugin_name | Short name of the plugin |
const bg_plugin_info_t* bg_plugin_registry_get_default | ( | bg_plugin_registry_t * | reg, | |
bg_plugin_type_t | type | |||
) |
Set the default for a particular plugin type.
reg | A plugin registry | |
type | The plugin type |
void bg_plugin_registry_set_encode_audio_to_video | ( | bg_plugin_registry_t * | reg, | |
int | audio_to_video | |||
) |
Specify whether audio should be encoded into the same file as the video if possible.
reg | A plugin registry | |
audio_to_video | 0 if the audio streams should always go to a separate file, 1 else |
int bg_plugin_registry_get_encode_audio_to_video | ( | bg_plugin_registry_t * | reg | ) |
Query whether audio should be encoded into the same file as the video if possible.
reg | A plugin registry |
void bg_plugin_registry_set_encode_subtitle_text_to_video | ( | bg_plugin_registry_t * | reg, | |
int | subtitle_text_to_video | |||
) |
Specify whether text subtitles should be encoded into the same file as the video if possible.
reg | A plugin registry | |
subtitle_text_to_video | 0 if the text subtitles should always go to a separate file, 1 else |
int bg_plugin_registry_get_encode_subtitle_text_to_video | ( | bg_plugin_registry_t * | reg | ) |
Query whether text subtitles should be encoded into the same file as the video if possible.
reg | A plugin registry |
void bg_plugin_registry_set_encode_subtitle_overlay_to_video | ( | bg_plugin_registry_t * | reg, | |
int | subtitle_overlay_to_video | |||
) |
Specify whether overlay subtitles should be encoded into the same file as the video if possible.
reg | A plugin registry | |
subtitle_overlay_to_video | 0 if the overay subtitles should always go to a separate file, 1 else |
int bg_plugin_registry_get_encode_subtitle_overlay_to_video | ( | bg_plugin_registry_t * | reg | ) |
Query whether overlay subtitles should be encoded into the same file as the video if possible.
reg | A plugin registry |
void bg_plugin_registry_set_encode_pp | ( | bg_plugin_registry_t * | reg, | |
int | encode_pp | |||
) |
Specify whether postprocessing should be done after encoding.
reg | A plugin registry | |
encode_pp | 0 if the overay subtitles should always go to a separate file, 1 else |
int bg_plugin_registry_get_encode_pp | ( | bg_plugin_registry_t * | reg | ) |
Query whether postprocessing should be done after encoding.
reg | A plugin registry |
void bg_plugin_registry_set_visualize | ( | bg_plugin_registry_t * | reg, | |
int | enable | |||
) |
Specify whether visualizations should be enabled.
reg | A plugin registry | |
enable | 1 to enable visualizations, 0 else |
int bg_plugin_registry_get_visualize | ( | bg_plugin_registry_t * | reg | ) |
Query whether visualizations should be enabled.
reg | A plugin registry |