![]() |
![]() |
![]() |
OGMRip Reference Manual | ![]() |
---|---|---|---|---|
#include <ogmrip-subp-codec.h> OGMRipSubpCodec; 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_eol_style (OGMRipSubpCodec *subp); void ogmrip_subp_codec_set_eol_style (OGMRipSubpCodec *subp, OGMRipEolStyle eol); gboolean ogmrip_subp_codec_get_forced_only (OGMRipSubpCodec *subp); void ogmrip_subp_codec_set_forced_only (OGMRipSubpCodec *subp, gboolean forced_only);
GObject +----OGMJobSpawn +----OGMJobContainer +----OGMJobBin +----OGMRipCodec +----OGMRipSubpCodec
"charset" guint : Read / Write "eol" guint : Read / Write "forced-only" gboolean : 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_eol_style (OGMRipSubpCodec *subp);
Gets the end-of-line characters of text subtitles
|
an OGMRipSubpCodec |
Returns : |
the OGMRipEolStyle, or -1 |
void ogmrip_subp_codec_set_eol_style (OGMRipSubpCodec *subp, OGMRipEolStyle eol);
Sets the end-of-line characters of text subtitles
|
an OGMRipSubpCodec |
|
the OGMRipEolStyle |
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
|
"charset"
property"charset" guint : Read / Write
Set charset.
Allowed values: <= 2
Default value: 0
"eol"
property"eol" guint : Read / Write
Set end of line style.
Allowed values: <= 1
Default value: 0
"forced-only"
property"forced-only" gboolean : Read / Write
Set forced only.
Default value: FALSE