| OGMRip Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ogmrip-options.h> struct OGMRipAudioOptions; void ogmrip_audio_options_init (OGMRipAudioOptions *options); void ogmrip_audio_options_reset (OGMRipAudioOptions *options); struct OGMRipSubpOptions; void ogmrip_subp_options_init (OGMRipSubpOptions *options); void ogmrip_subp_options_reset (OGMRipSubpOptions *options);
struct OGMRipAudioOptions {
GType codec;
gchar *label;
gint quality;
gint srate;
gint channels;
gint language;
gboolean normalize;
gboolean defaults;
};
This structure describes the options of an audio track.
GType |
The type of the audio codec |
gchar * |
The label of the track |
gint |
The quality of the track |
gint |
The sample rate of the track |
gint |
The number of channels of the track |
gint |
The language of the track |
gboolean |
Whether to normalize the sound |
gboolean |
Whether these are the default options |
void ogmrip_audio_options_init (OGMRipAudioOptions *options);
Initializes options with the default audio options.
|
An OGMRipAudioOptions |
void ogmrip_audio_options_reset (OGMRipAudioOptions *options);
Clears the current options in options and resets them to the default audio options.
|
An OGMRipAudioOptions |
struct OGMRipSubpOptions {
GType codec;
gchar *label;
gint charset;
gint newline;
gint language;
gboolean spell;
gboolean forced_subs;
gboolean defaults;
};
This structure describes the options of a subtitles stream.
GType |
The type of the subtitles codec |
gchar * |
The label of the stream |
gint |
The character set of the stream |
gint |
The newline style |
gint |
The language of the stream |
gboolean |
Whether to spell check the subtitles |
gboolean |
Whether to encode forced subs obly |
gboolean |
Whether these are the default options |
void ogmrip_subp_options_init (OGMRipSubpOptions *options);
Initializes options with the default subp options.
|
An OGMRipSubpOptions |
void ogmrip_subp_options_reset (OGMRipSubpOptions *options);
Clears the current options in options and resets them to the default subp options.
|
An OGMRipSubpOptions |