OGMRip Reference Manual | ||||
---|---|---|---|---|
#include <ogmrip-subp-codec.h> OGMRipSubpCodec; OGMRipSubpCodecClass; void ogmrip_subp_codec_set_dvd_subp_stream (OGMRipSubpCodec *subp, OGMDvdSubpStream *stream); OGMDvdSubpStream* ogmrip_subp_codec_get_dvd_subp_stream (OGMRipSubpCodec *subp); gint ogmrip_subp_codec_get_charset (OGMRipSubpCodec *subp); void ogmrip_subp_codec_set_charset (OGMRipSubpCodec *subp, OGMRipCharset charset); gint ogmrip_subp_codec_get_newline (OGMRipSubpCodec *subp); void ogmrip_subp_codec_set_newline (OGMRipSubpCodec *subp, OGMRipNewline newline); gboolean ogmrip_subp_codec_get_forced_only (OGMRipSubpCodec *subp); void ogmrip_subp_codec_set_forced_only (OGMRipSubpCodec *subp, gboolean forced_only); gchar* ogmrip_subp_codec_get_label (OGMRipSubpCodec *subp); void ogmrip_subp_codec_set_label (OGMRipSubpCodec *subp, const gchar *label);
GObject +----OGMJobSpawn +----OGMJobContainer +----OGMJobBin +----OGMRipCodec +----OGMRipSubpCodec
"charset" guint : Read / Write "forced-only" gboolean : Read / Write "newline" guint : Read / Write "stream" gpointer : Read / Write
void ogmrip_subp_codec_set_dvd_subp_stream (OGMRipSubpCodec *subp, OGMDvdSubpStream *stream);
Sets the subtitle stream to encode.
|
an OGMRipSubpCodec |
|
an OGMDvdSubpStream |
OGMDvdSubpStream* ogmrip_subp_codec_get_dvd_subp_stream (OGMRipSubpCodec *subp);
Gets the subtitle stream to encode.
|
an OGMRipSubpCodec |
Returns : |
an OGMDvdSubpStream, or NULL |
gint ogmrip_subp_codec_get_charset (OGMRipSubpCodec *subp);
Gets the character set of text subtitles
|
an OGMRipSubpCodec |
Returns : |
an OGMRipCharset, or -1 |
void ogmrip_subp_codec_set_charset (OGMRipSubpCodec *subp, OGMRipCharset charset);
Sets the character set of text subtitles
|
an OGMRipSubpCodec |
|
the OGMRipCharset |
gint ogmrip_subp_codec_get_newline (OGMRipSubpCodec *subp);
Gets the end-of-line characters of text subtitles
|
an OGMRipSubpCodec |
Returns : |
the OGMRipNewline, or -1 |
void ogmrip_subp_codec_set_newline (OGMRipSubpCodec *subp, OGMRipNewline newline);
Sets the end-of-line characters of text subtitles
|
an OGMRipSubpCodec |
|
the OGMRipNewline |
gboolean ogmrip_subp_codec_get_forced_only (OGMRipSubpCodec *subp);
Gets whether to extract forced subtitles only.
|
an OGMRipSubpCodec |
Returns : |
TRUE to extract forced subtitles only
|
void ogmrip_subp_codec_set_forced_only (OGMRipSubpCodec *subp, gboolean forced_only);
Sets whether to extract forced subtitles only.
|
an OGMRipSubpCodec |
|
TRUE to extract forced subtitles only
|
gchar* ogmrip_subp_codec_get_label (OGMRipSubpCodec *subp);
Gets the name of the track.
|
an OGMRipSubpCodec |
Returns : |
the track name |
void ogmrip_subp_codec_set_label (OGMRipSubpCodec *subp, const gchar *label);
Sets the name of the track.
|
an OGMRipSubpCodec |
|
the track name |
"charset"
property"charset" guint : Read / Write
Set charset.
Allowed values: <= 2
Default value: 0
"forced-only"
property"forced-only" gboolean : Read / Write
Set forced only.
Default value: FALSE
"newline"
property"newline" guint : Read / Write
Set newline.
Allowed values: <= 1
Default value: 0