|
VLC
2.1.0-git
|
Go to the source code of this file.
Typedefs | |
| typedef struct playlist_fetcher_t | playlist_fetcher_t |
| Fetcher opaque structure. | |
Functions | |
| playlist_fetcher_t * | playlist_fetcher_New (vlc_object_t *) |
| This function creates the fetcher object and thread. | |
| void | playlist_fetcher_Push (playlist_fetcher_t *, input_item_t *) |
| This function enqueues the provided item to be art fetched. | |
| void | playlist_fetcher_Delete (playlist_fetcher_t *) |
| This function destroys the fetcher object and thread. | |
| typedef struct playlist_fetcher_t playlist_fetcher_t |
Fetcher opaque structure.
The fether object will retreive the art album data for any given input item in an asynchronous way.
| void playlist_fetcher_Delete | ( | playlist_fetcher_t * | ) |
This function destroys the fetcher object and thread.
All pending input items will be released.
References playlist_fetcher_t::b_live, playlist_fetcher_t::i_waiting, playlist_fetcher_t::lock, playlist_fetcher_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_fetcher_t::wait.
Referenced by playlist_Destroy().
| playlist_fetcher_t* playlist_fetcher_New | ( | vlc_object_t * | ) |
This function creates the fetcher object and thread.
References playlist_fetcher_t::albums, ARRAY_INIT, playlist_fetcher_t::b_live, playlist_fetcher_t::i_art_policy, playlist_fetcher_t::i_waiting, playlist_fetcher_t::lock, playlist_fetcher_t::object, playlist_fetcher_t::pp_waiting, var_GetInteger, vlc_cond_init(), vlc_mutex_init(), and playlist_fetcher_t::wait.
Referenced by playlist_Create().
| void playlist_fetcher_Push | ( | playlist_fetcher_t * | , |
| input_item_t * | |||
| ) |
This function enqueues the provided item to be art fetched.
The input item is retained until the art fetching is done or until the fetcher object is destroyed.
References playlist_fetcher_t::b_live, playlist_fetcher_t::i_waiting, INSERT_ELEM, playlist_fetcher_t::lock, msg_Err, playlist_fetcher_t::object, playlist_fetcher_t::pp_waiting, Thread(), vlc_clone_detach(), vlc_gc_incref, vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_THREAD_PRIORITY_LOW.
Referenced by Art(), and playlist_AskForArtEnqueue().
1.8.1.2