VLC
3.0.21
|
Go to the source code of this file.
Enumerations | |
enum | input_statistic_t { INPUT_STATISTIC_DECODED_VIDEO, INPUT_STATISTIC_DECODED_AUDIO, INPUT_STATISTIC_DECODED_SUBTITLE, INPUT_STATISTIC_SENT_PACKET, INPUT_STATISTIC_SENT_BYTE } |
enum input_statistic_t |
input_thread_t* input_CreatePreparser | ( | vlc_object_t * | obj, |
input_item_t * | item | ||
) |
Creates an item preparser.
Creates an input thread to preparse an item. The input needs to be started with input_Start() afterwards.
obj | parent object |
item | input item to preparse |
References Create().
void input_item_ChangeEPGSource | ( | input_item_t * | p_item, |
int | i_source_id | ||
) |
References vlc_epg_t::b_present, input_item_t::i_epg, vlc_epg_t::i_source_id, input_item_t::lock, input_item_t::p_epg_table, input_item_t::pp_epg, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by EsOutProgramSelect(), and input_item_SetEpgOffline().
void input_item_SetArtFetched | ( | input_item_t * | p_i, |
bool | b_art_fetched | ||
) |
References ITEM_ART_FETCHED, input_item_t::lock, input_item_t::p_meta, vlc_meta_GetStatus(), vlc_meta_New(), vlc_meta_SetStatus(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by Downloader().
void input_item_SetArtNotFound | ( | input_item_t * | p_i, |
bool | b_not_found | ||
) |
References ITEM_ART_NOTFOUND, input_item_t::lock, input_item_t::p_meta, vlc_meta_GetStatus(), vlc_meta_New(), vlc_meta_SetStatus(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by SearchLocal(), and SearchNetwork().
void input_item_SetEpg | ( | input_item_t * | p_item, |
const vlc_epg_t * | p_epg, | ||
bool | |||
) |
References asprintf(), vlc_epg_t::b_present, input_item_t::event_manager, vlc_epg_event_t::i_duration, input_item_t::i_epg, vlc_epg_t::i_event, vlc_epg_t::i_id, vlc_epg_t::i_source_id, vlc_epg_event_t::i_start, input_item_DelInfo(), localtime_r(), input_item_t::lock, input_item_t::p_epg_table, input_item_t::pp_epg, vlc_epg_t::pp_event, vlc_epg_event_t::psz_description, vlc_epg_event_t::psz_name, vlc_epg_t::psz_name, vlc_epg_event_t::psz_short_description, TAB_APPEND, vlc_epg_Delete(), vlc_epg_Duplicate(), vlc_event_send(), vlc_mutex_lock(), and vlc_mutex_unlock().
void input_item_SetEpgEvent | ( | input_item_t * | p_item, |
const vlc_epg_event_t * | p_epg_evt | ||
) |
void input_item_SetEpgOffline | ( | input_item_t * | ) |
void input_item_SetEpgTime | ( | input_item_t * | , |
int64_t | |||
) |
References input_item_t::i_epg_time, input_item_t::lock, vlc_mutex_lock(), and vlc_mutex_unlock().
void input_item_SetPreparsed | ( | input_item_t * | p_i, |
bool | b_preparsed | ||
) |
References input_item_t::event_manager, ITEM_PREPARSED, input_item_t::lock, input_item_t::p_meta, vlc_event_send(), vlc_meta_GetStatus(), vlc_meta_New(), vlc_meta_SetStatus(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by PreparserCloseInput(), and SetPreparsed().
void input_item_SignalPreparseEnded | ( | input_item_t * | p_i, |
int | new_status | ||
) |
Referenced by playlist_preparser_Push(), PreparserCloseInput(), and SetPreparsed().
bool input_resource_HasVout | ( | input_resource_t * | p_resource | ) |
This function return true if there is at least one vout in the resources.
It can only be called on detached resources.
Referenced by Thread().
void input_resource_TerminateSout | ( | input_resource_t * | p_resource | ) |
This function deletes the current sout in the resources.
void input_UpdateStatistic | ( | input_thread_t * | , |
input_statistic_t | , | ||
int | i_delta | ||
) |
It will update internal input statistics from external sources.
XXX For now, the only one allowed to do it is stream_out and input core.
References msg_Dbg.
input_stats_t* stats_NewInputStats | ( | input_thread_t * | p_input | ) |
References input_stats_t::lock, stats_ReinitInputStats(), and vlc_mutex_init().
Referenced by Create().