
| #define SUB_DELAY_LONGTEXT N_("Apply a delay to all subtitles (in 1/10s, eg 100 means 10s).") |
| #define SUB_FPS_LONGTEXT |
Value:
N_("Override the normal frames per second settings. " \ "This will only work with MicroDVD and SubRIP (SRT) subtitles.")
| #define SUB_TYPE_LONGTEXT |
Value:
N_("Force the subtiles format. Valid values are : \"microdvd\", " \ "\"subrip\", \"subviewer\", \"ssa1\", \"ssa2-4\", \"ass\", \"vplayer\", " \ "\"sami\", \"dvdsubtitle\", \"mpl2\", \"aqt\", \"pjs\", "\ "\"mpsub\", \"jacosub\", \"psb\", \"realtext\", \"dks\", \"subviewer1\", " \ " and \"auto\" (meaning autodetection, this should always work).")
| anonymous enum |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
| static int Control | ( | demux_t * | p_demux, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References DEMUX_CAN_RECORD, DEMUX_GET_ATTACHMENTS, DEMUX_GET_FPS, DEMUX_GET_LENGTH, DEMUX_GET_META, DEMUX_GET_POSITION, DEMUX_GET_TIME, DEMUX_GET_TITLE_INFO, DEMUX_HAS_UNSUPPORTED_META, DEMUX_SET_NEXT_DEMUX_TIME, DEMUX_SET_POSITION, DEMUX_SET_TIME, demux_sys_t::i_length, demux_sys_t::i_next_demux_date, subtitle_t::i_start, subtitle_t::i_stop, demux_sys_t::i_subtitle, demux_sys_t::i_subtitles, msg_Err, demux_t::p_sys, demux_sys_t::subtitle, VLC_EGENERIC, and VLC_SUCCESS.
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References block_New, demux_sys_t::es, es_out_Send(), block_t::i_dts, block_t::i_length, demux_sys_t::i_next_demux_date, block_t::i_pts, subtitle_t::i_start, subtitle_t::i_stop, demux_sys_t::i_subtitle, demux_sys_t::i_subtitles, demux_t::out, block_t::p_buffer, demux_t::p_parent, demux_t::p_sys, subtitle_t::psz_text, demux_sys_t::subtitle, and var_GetTime.
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
| static int ParseAQT | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseDKS | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseDVDSubtitle | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseJSS | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
References demux_sys_t::b_inited, demux_sys_t::i_comment, subtitle_t::i_start, subtitle_t::i_stop, demux_sys_t::i_time_resolution, demux_sys_t::i_time_shift, demux_sys_t::jss, msg_Dbg, demux_t::p_sys, subtitle_t::psz_text, TextGetLine(), demux_sys_t::txt, VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, and VLC_UNUSED.
| static int ParseMicroDvd | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseMPL2 | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseMPSub | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
References demux_sys_t::b_inited, demux_sys_t::f_factor, demux_sys_t::f_total, subtitle_t::i_start, subtitle_t::i_stop, demux_sys_t::mpsub, demux_t::p_sys, subtitle_t::psz_text, strdup(), TextGetLine(), demux_sys_t::txt, us_strtod(), var_GetFloat, var_SetFloat, VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, and VLC_UNUSED.
| static int ParsePJS | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParsePSB | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseRealText | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int64_t ParseRealTime | ( | char * | psz, | |
| int * | h, | |||
| int * | m, | |||
| int * | s, | |||
| int * | f | |||
| ) | [static] |
| static int ParseSami | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static char* ParseSamiSearch | ( | text_t * | txt, | |
| char * | psz_start, | |||
| const char * | psz_str | |||
| ) | [static] |
| static int ParseSSA | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseSubRip | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
References ParseSubRipSubViewer(), and VLC_UNUSED.
| static int ParseSubRipDot | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
References ParseSubRipSubViewer(), and VLC_UNUSED.
| static int ParseSubRipSubViewer | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| const char * | psz_fmt, | |||
| bool | b_replace_br | |||
| ) | [static] |
References subtitle_t::i_start, subtitle_t::i_stop, demux_t::p_sys, subtitle_t::psz_text, strdup(), TextGetLine(), demux_sys_t::txt, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
Referenced by ParseSubRip(), ParseSubRipDot(), and ParseSubViewer().
| static int ParseSubViewer | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
References ParseSubRipSubViewer(), and VLC_UNUSED.
| static int ParseSubViewer1 | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static int ParseVplayer | ( | demux_t * | p_demux, | |
| subtitle_t * | p_subtitle, | |||
| int | i_idx | |||
| ) | [static] |
| static char* TextGetLine | ( | text_t * | txt | ) | [static] |
References text_t::i_line, text_t::i_line_count, and text_t::line.
Referenced by ParseAQT(), ParseDKS(), ParseDVDSubtitle(), ParseJSS(), ParseMicroDvd(), ParseMPL2(), ParseMPSub(), ParsePJS(), ParsePSB(), ParseRealText(), ParseSami(), ParseSamiSearch(), ParseSSA(), ParseSubRipSubViewer(), ParseSubViewer1(), ParseVobSubIDX(), and ParseVplayer().
References text_t::i_line, text_t::i_line_count, text_t::line, stream_ReadLine(), VLC_EGENERIC, and VLC_SUCCESS.
| static void TextPreviousLine | ( | text_t * | txt | ) | [static] |
| static void TextUnload | ( | text_t * | txt | ) | [static] |
References text_t::i_line, text_t::i_line_count, and text_t::line.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| int i_type |
| int(* pf_read)(demux_t *, subtitle_t *, int) |
const char* const ppsz_sub_type[] [static] |
Initial value:
{
"auto", "microdvd", "subrip", "subviewer", "ssa1",
"ssa2-4", "ass", "vplayer", "sami", "dvdsubtitle", "mpl2",
"aqt", "pjs", "mpsub", "jacosub", "psb", "realtext", "dks",
"subviewer1"
}
| const char* psz_name |
| const char* psz_type_name |
struct { ... } sub_read_subtitle_function[] [static] |
1.5.6