|
VLC
2.1.0-git
|
Go to the source code of this file.
Typedefs | |
| typedef struct playlist_preparser_t | playlist_preparser_t |
| Preparser opaque structure. | |
Functions | |
| playlist_preparser_t * | playlist_preparser_New (vlc_object_t *, playlist_fetcher_t *) |
| This function creates the preparser object and thread. | |
| void | playlist_preparser_Push (playlist_preparser_t *, input_item_t *) |
| This function enqueues the provided item to be preparsed. | |
| void | playlist_preparser_Delete (playlist_preparser_t *) |
| This function destroys the preparser object and thread. | |
| typedef struct playlist_preparser_t playlist_preparser_t |
Preparser opaque structure.
The preparser object will retreive the meta data of any given input item in an asynchronous way. It will also issue art fetching requests.
| void playlist_preparser_Delete | ( | playlist_preparser_t * | ) |
This function destroys the preparser object and thread.
All pending input items will be released.
References playlist_preparser_t::b_live, playlist_preparser_t::i_waiting, playlist_preparser_t::lock, playlist_preparser_t::pp_waiting, REMOVE_ELEM, vlc_cond_destroy(), vlc_cond_wait(), vlc_gc_decref, vlc_mutex_destroy(), vlc_mutex_lock(), vlc_mutex_unlock(), and playlist_preparser_t::wait.
Referenced by playlist_Destroy().
| playlist_preparser_t* playlist_preparser_New | ( | vlc_object_t * | , |
| playlist_fetcher_t * | |||
| ) |
This function creates the preparser object and thread.
References playlist_preparser_t::b_live, playlist_preparser_t::i_art_policy, playlist_preparser_t::i_waiting, playlist_preparser_t::lock, playlist_preparser_t::object, playlist_preparser_t::p_fetcher, playlist_preparser_t::pp_waiting, var_InheritInteger, vlc_cond_init(), vlc_mutex_init(), and playlist_preparser_t::wait.
Referenced by playlist_Create().
| void playlist_preparser_Push | ( | playlist_preparser_t * | , |
| input_item_t * | |||
| ) |
This function enqueues the provided item to be preparsed.
The input item is retained until the preparsing is done or until the preparser object is deleted.
References playlist_preparser_t::b_live, playlist_preparser_t::i_waiting, INSERT_ELEM, playlist_preparser_t::lock, msg_Warn, playlist_preparser_t::object, playlist_preparser_t::pp_waiting, Thread(), vlc_clone_detach(), vlc_gc_incref, vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_THREAD_PRIORITY_LOW.
Referenced by playlist_PreparseEnqueue().
1.8.1.2