VLC
3.0.15
|
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) |
Typedefs | |
typedef struct input_thread_private_t | input_thread_private_t |
Private input fields. More... | |
Functions | |
static input_thread_private_t * | input_priv (input_thread_t *input) |
void | input_ControlPush (input_thread_t *, int i_type, vlc_value_t *) |
bool | input_Stopped (input_thread_t *) |
void | input_ExtractAttachmentAndCacheArt (input_thread_t *, const char *name) |
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 *) |
int | subtitles_Detect (input_thread_t *, char *, const char *, input_item_slave_t ***, int *) |
Detect subtitle files. More... | |
int | subtitles_Filter (const char *) |
void | input_SplitMRL (const char **, const char **, const char **, const char **, char *) |
void | vlc_audio_replay_gain_MergeFromMeta (audio_replay_gain_t *p_dst, const vlc_meta_t *p_meta) |
void | input_item_node_PostAndDelete (input_item_node_t *p_node) |
#define INPUT_CONTROL_FIFO_SIZE 100 |
#define INPUT_PTS_DELAY_MAX INT64_C(60000000) |
typedef struct input_thread_private_t input_thread_private_t |
Private input fields.
enum input_control_e |
void input_ConfigVarInit | ( | input_thread_t * | ) |
Referenced by Create().
void input_ControlPush | ( | input_thread_t * | , |
int | i_type, | ||
vlc_value_t * | |||
) |
Referenced by BookmarkCallback(), FrameNextCallback(), input_vaControl(), PositionCallback(), RateCallback(), RecordCallback(), and TitleCallback().
void input_ControlVarInit | ( | input_thread_t * | ) |
References _, vlc_value_t::i_int, input_thread_private_t::i_state, input_priv(), InputAddCallbacks(), p_input_callbacks, vlc_value_t::psz_string, var_Change, var_Create, var_Get, var_GetInteger, var_SetInteger, VLC_VAR_DELCHOICE, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_INTEGER, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, VLC_VAR_SETVALUE, VLC_VAR_STRING, and VLC_VAR_VOID.
Referenced by Create().
void input_ControlVarNavigation | ( | input_thread_t * | ) |
void input_ControlVarStop | ( | input_thread_t * | ) |
void input_ControlVarTitle | ( | input_thread_t * | , |
int | i_title | ||
) |
void input_ExtractAttachmentAndCacheArt | ( | input_thread_t * | , |
const char * | name | ||
) |
< No error
References input_thread_private_t::attachment, input_thread_private_t::i_attachment, input_attachment_t::i_data, input_item_IsArtFetched(), input_priv(), likely, input_item_t::lock, msg_Warn, name, 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(), VLC_OBJECT, and VLC_SUCCESS.
void input_item_node_PostAndDelete | ( | input_item_node_t * | p_node | ) |
References input_item_t::event_manager, input_item_node_Delete(), input_item_node_t::p_item, and vlc_event_send().
Referenced by EsOutControlLocked().
|
inlinestatic |
Referenced by AStreamReadBlock(), AStreamReadStream(), Create(), EsOutControlLocked(), EsOutProgramSelect(), EsOutSend(), input_Close(), input_ControlVarInit(), input_CreateFilename(), input_DecoderNew(), input_Destructor(), input_ExtractAttachmentAndCacheArt(), input_GetItem(), input_Start(), input_Stop(), input_SubtitleFile2Uri(), input_vaControl(), MainLoop(), MainLoopDemux(), MainLoopStatistics(), PreparserCloseInput(), stats_ComputeInputStats(), and UpdateBookmarksOption().
void input_SplitMRL | ( | const char ** | , |
const char ** | , | ||
const char ** | , | ||
const char ** | , | ||
char * | |||
) |
bool input_Stopped | ( | input_thread_t * | ) |
Referenced by MainLoop().
int subtitles_Detect | ( | input_thread_t * | p_this, |
char * | psz_path, | ||
const char * | psz_name_org, | ||
input_item_slave_t *** | ppp_slaves, | ||
int * | p_slaves | ||
) |
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_org | the complete filename to base the search on. |
pp_slaves | an initialized input item slave list to append detected subtitles to |
p_slaves | pointer to the size of the slave list |
< Unspecified error
< Unspecified error
< Unspecified error
< Not enough memory
< Unspecified error
< Not enough memory
< No error
References asprintf(), input_item_slave::b_forced, DIR_SEP, DIR_SEP_CHAR, input_item_slave::i_priority, input_item_slave_Delete, input_item_slave_New(), msg_Dbg, paths_to_list(), psz_ext, psz_name, input_item_slave::psz_uri, SLAVE_PRIORITY_MATCH_ALL, SLAVE_PRIORITY_MATCH_LEFT, SLAVE_PRIORITY_MATCH_NONE, SLAVE_PRIORITY_MATCH_RIGHT, slave_strcmp(), SLAVE_TYPE_SPU, strcasecmp(), strcpy_get_ext(), strcpy_strip_ext(), strcpy_trim(), strdup(), subtitles_Filter(), TAB_APPEND, var_GetInteger, VLC_EGENERIC, VLC_ENOMEM, vlc_opendir(), vlc_path2uri(), vlc_readdir(), vlc_stat(), VLC_SUCCESS, vlc_uri2path(), and whiteonly().
int subtitles_Filter | ( | const char * | ) |
References strcasecmp(), and sub_exts.
Referenced by input_vaControl(), and subtitles_Detect().
void vlc_audio_replay_gain_MergeFromMeta | ( | audio_replay_gain_t * | p_dst, |
const vlc_meta_t * | p_meta | ||
) |