Data Structures | Defines | Enumerations | Functions

input_internal.h File Reference

Include dependency graph for input_internal.h:

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...

Defines

#define INPUT_CONTROL_FIFO_SIZE   100
#define INPUT_PTS_DELAY_MAX   INT64_C(60000000)

Enumerations

enum  input_control_e {
  INPUT_CONTROL_SET_DIE, INPUT_CONTROL_SET_STATE, INPUT_CONTROL_SET_RATE, INPUT_CONTROL_SET_POSITION,
  INPUT_CONTROL_SET_TIME, INPUT_CONTROL_SET_PROGRAM, INPUT_CONTROL_SET_TITLE, INPUT_CONTROL_SET_TITLE_NEXT,
  INPUT_CONTROL_SET_TITLE_PREV, INPUT_CONTROL_SET_SEEKPOINT, INPUT_CONTROL_SET_SEEKPOINT_NEXT, INPUT_CONTROL_SET_SEEKPOINT_PREV,
  INPUT_CONTROL_SET_BOOKMARK, INPUT_CONTROL_SET_ES, INPUT_CONTROL_RESTART_ES, INPUT_CONTROL_SET_AUDIO_DELAY,
  INPUT_CONTROL_SET_SPU_DELAY, INPUT_CONTROL_ADD_SLAVE, INPUT_CONTROL_ADD_SUBTITLE, INPUT_CONTROL_SET_RECORD_STATE,
  INPUT_CONTROL_SET_FRAME_NEXT
}

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 Documentation

#define INPUT_CONTROL_FIFO_SIZE   100

Referenced by input_ControlPush().

#define INPUT_PTS_DELAY_MAX   INT64_C(60000000)

Enumeration Type Documentation

Enumerator:
INPUT_CONTROL_SET_DIE 
INPUT_CONTROL_SET_STATE 
INPUT_CONTROL_SET_RATE 
INPUT_CONTROL_SET_POSITION 
INPUT_CONTROL_SET_TIME 
INPUT_CONTROL_SET_PROGRAM 
INPUT_CONTROL_SET_TITLE 
INPUT_CONTROL_SET_TITLE_NEXT 
INPUT_CONTROL_SET_TITLE_PREV 
INPUT_CONTROL_SET_SEEKPOINT 
INPUT_CONTROL_SET_SEEKPOINT_NEXT 
INPUT_CONTROL_SET_SEEKPOINT_PREV 
INPUT_CONTROL_SET_BOOKMARK 
INPUT_CONTROL_SET_ES 
INPUT_CONTROL_RESTART_ES 
INPUT_CONTROL_SET_AUDIO_DELAY 
INPUT_CONTROL_SET_SPU_DELAY 
INPUT_CONTROL_ADD_SLAVE 
INPUT_CONTROL_ADD_SUBTITLE 
INPUT_CONTROL_SET_RECORD_STATE 
INPUT_CONTROL_SET_FRAME_NEXT 

Function Documentation

void input_ConfigVarInit ( input_thread_t  ) 
void input_ControlPush ( input_thread_t ,
int  i_type,
vlc_value_t  
)
void input_ControlVarInit ( input_thread_t  ) 
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 p_input  ) 
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.

Parameters:
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.
Returns:
a NULL terminated array of filenames with detected possible subtitles. The array contains max MAX_SUBTITLE_FILES items and you need to free it after use.

References compare_sub_priority(), DIR_SEP, DIR_SEP_CHAR, make_path(), MAX_SUBTITLE_FILES, msg_Dbg, paths_to_list(), vlc_subfn_t::priority, psz_ext, vlc_subfn_t::psz_ext, vlc_subfn_t::psz_fname, psz_name, strcasecmp(), strcpy_get_ext(), strcpy_strip_ext(), strcpy_trim(), strdup(), strncasecmp(), SUB_PRIORITY_MATCH_ALL, 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().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines