|
VLC
2.1.0-git
|

Go to the source code of this file.
Data Structures | |
| struct | input_source_t |
| struct | input_control_t |
| struct | input_thread_private_t |
| Private input fields. More... | |
Macros | |
| #define | INPUT_CONTROL_FIFO_SIZE 100 |
| #define | INPUT_PTS_DELAY_MAX INT64_C(60000000) |
Functions | |
| void | input_ControlPush (input_thread_t *, int i_type, vlc_value_t *) |
| void | input_ExtractAttachmentAndCacheArt (input_thread_t *p_input) |
| void | input_ControlVarInit (input_thread_t *) |
| void | input_ControlVarStop (input_thread_t *) |
| void | input_ControlVarNavigation (input_thread_t *) |
| void | input_ControlVarTitle (input_thread_t *, int i_title) |
| void | input_ConfigVarInit (input_thread_t *) |
| char ** | subtitles_Detect (input_thread_t *, char *path, const char *fname) |
| Detect subtitle files. | |
| int | subtitles_Filter (const char *) |
| void | input_SplitMRL (const char **, const char **, const char **, const char **, char *) |
| #define INPUT_CONTROL_FIFO_SIZE 100 |
Referenced by input_ControlPush().
| #define INPUT_PTS_DELAY_MAX INT64_C(60000000) |
Referenced by EsOutControlLocked(), and InputSourceInit().
| enum input_control_e |
| void input_ConfigVarInit | ( | input_thread_t * | ) |
References input_thread_t::b_preparsing, var_Create, var_SetBool, var_SetFloat, var_SetInteger, VLC_VAR_BOOL, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_INTEGER, and VLC_VAR_STRING.
Referenced by Create().
| void input_ControlPush | ( | input_thread_t * | , |
| int | i_type, | ||
| vlc_value_t * | |||
| ) |
References input_thread_private_t::control, ControlRelease(), input_thread_private_t::i_control, input_control_t::i_type, i_type, INPUT_CONTROL_FIFO_SIZE, INPUT_CONTROL_SET_DIE, input_thread_private_t::lock_control, msg_Err, input_thread_t::p, input_control_t::val, vlc_cond_signal(), vlc_mutex_lock(), vlc_mutex_unlock(), and input_thread_private_t::wait_control.
Referenced by BookmarkCallback(), ControlUnpause(), ESCallback(), EsDelayCallback(), FrameNextCallback(), Init(), input_Stop(), input_vaControl(), MainLoopTryRepeat(), NavigationCallback(), PositionCallback(), ProgramCallback(), RateCallback(), RecordCallback(), SeekpointCallback(), StartTitle(), StateCallback(), TimeCallback(), TitleCallback(), and TsRun().
| void input_ControlVarInit | ( | input_thread_t * | ) |
References _, input_thread_t::b_preparsing, vlc_value_t::f_float, vlc_value_t::i_int, input_thread_private_t::i_state, vlc_value_t::i_time, InputAddCallbacks(), input_thread_t::p, vlc_value_t::psz_string, text, var_Change, var_Create, var_Get, var_GetInteger, VLC_VAR_DELCHOICE, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_HASCHOICE, VLC_VAR_INTEGER, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, VLC_VAR_SETVALUE, VLC_VAR_STRING, VLC_VAR_TIME, VLC_VAR_VARIABLE, and VLC_VAR_VOID.
Referenced by Create().
| void input_ControlVarNavigation | ( | input_thread_t * | ) |
References _, asprintf(), CLOCK_FREQ, vlc_value_t::i_int, input_title_t::i_length, input_title_t::i_seekpoint, input_thread_private_t::i_seekpoint_offset, input_thread_private_t::i_title, input_thread_private_t::i_title_offset, MSTRTIME_MAX_SIZE, NavigationCallback(), input_thread_t::p, seekpoint_t::psz_name, input_title_t::psz_name, vlc_value_t::psz_string, secstotimestr(), input_title_t::seekpoint, strdup(), text, input_thread_private_t::title, TitleCallback(), var_AddCallback, var_Change, var_Create, var_Destroy, VLC_VAR_ADDCHOICE, VLC_VAR_HASCHOICE, VLC_VAR_INTEGER, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, and VLC_VAR_VOID.
Referenced by InitTitle().
| void input_ControlVarStop | ( | input_thread_t * | ) |
References input_thread_t::b_preparsing, input_thread_private_t::i_title, InputDelCallbacks(), name, NavigationCallback(), input_thread_t::p, and var_DelCallback.
Referenced by End().
| void input_ControlVarTitle | ( | input_thread_t * | , |
| int | i_title | ||
| ) |
References _, asprintf(), vlc_value_t::i_int, input_title_t::i_seekpoint, input_thread_private_t::i_seekpoint_offset, input_thread_t::p, seekpoint_t::psz_name, vlc_value_t::psz_string, input_title_t::seekpoint, SeekpointCallback(), strdup(), text, input_thread_private_t::title, var_AddCallback, var_Change, var_Create, var_Destroy, var_Type, VLC_VAR_ADDCHOICE, VLC_VAR_CLEARCHOICES, VLC_VAR_SETTEXT, and VLC_VAR_VOID.
Referenced by input_SendEventTitle().
| void input_ExtractAttachmentAndCacheArt | ( | input_thread_t * | p_input | ) |
References input_thread_private_t::attachment, input_thread_private_t::i_attachment, input_attachment_t::i_data, input_item_GetArtURL, input_item_IsArtFetched(), input_item_t::lock, msg_Err, msg_Warn, input_thread_t::p, input_attachment_t::p_data, input_thread_private_t::p_item, playlist_FindArtInCache(), playlist_SaveArt(), input_attachment_t::psz_mime, input_attachment_t::psz_name, vlc_input_attachment_Delete(), vlc_input_attachment_Duplicate(), vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_OBJECT.
Referenced by EsOutMeta().
| void input_SplitMRL | ( | const char ** | , |
| const char ** | , | ||
| const char ** | , | ||
| const char ** | , | ||
| char * | |||
| ) |
Referenced by InputSourceInit(), and stream_UrlNew().
| char** subtitles_Detect | ( | input_thread_t * | p_this, |
| char * | psz_path, | ||
| const char * | psz_name_org | ||
| ) |
Detect subtitle files.
When called this function will split up the psz_name string into a directory, filename and extension. It then opens the directory in which the file resides and tries to find possible matches of subtitles files.
| p_this | the calling input_thread_t |
| psz_path | a list of subdirectories (separated by a ',') to look in. |
| psz_name | the complete filename to base the search on. |
References compare_sub_priority(), DIR_SEP, DIR_SEP_CHAR, make_path(), MAX_SUBTITLE_FILES, msg_Dbg, paths_to_list(), vlc_subfn_t::priority, vlc_subfn_t::psz_ext, psz_ext, vlc_subfn_t::psz_fname, psz_name, strcasecmp(), strcpy_get_ext(), strcpy_strip_ext(), strcpy_trim(), strdup(), SUB_PRIORITY_MATCH_ALL, SUB_PRIORITY_MATCH_LEFT, SUB_PRIORITY_MATCH_NONE, SUB_PRIORITY_MATCH_RIGHT, SUB_PRIORITY_NONE, subtitles_Filter(), var_GetInteger, vlc_opendir(), vlc_readdir(), vlc_stat(), and whiteonly().
Referenced by LoadSubtitles().
| int subtitles_Filter | ( | const char * | ) |
References strcasecmp(), and sub_exts.
Referenced by input_vaControl(), and subtitles_Detect().
1.8.1.2