VLC 4.0.0-dev
|
Go to the source code of this file.
Data Structures | |
struct | input_fetcher_callbacks_t |
Typedefs | |
typedef struct input_fetcher_t | input_fetcher_t |
Fetcher opaque structure. More... | |
typedef struct input_fetcher_callbacks_t | input_fetcher_callbacks_t |
Functions | |
input_fetcher_t * | input_fetcher_New (vlc_object_t *) |
This function creates the fetcher object and thread. More... | |
int | input_fetcher_Push (input_fetcher_t *, input_item_t *, input_item_meta_request_option_t, const input_fetcher_callbacks_t *, void *) |
This function enqueues the provided item to be art fetched. More... | |
void | input_fetcher_Delete (input_fetcher_t *) |
This function destroys the fetcher object and thread. More... | |
typedef struct input_fetcher_callbacks_t input_fetcher_callbacks_t |
typedef struct input_fetcher_t input_fetcher_t |
Fetcher opaque structure.
The fetcher object will retrieve the art album data for any given input item in an asynchronous way.
void input_fetcher_Delete | ( | input_fetcher_t * | fetcher | ) |
This function destroys the fetcher object and thread.
All pending input items will be released.
References input_fetcher_t::album_cache, CancelAllTasks(), input_fetcher_t::executor_downloader, input_fetcher_t::executor_local, input_fetcher_t::executor_network, task::fetcher, FreeCacheEntry(), vlc_dictionary_clear(), and vlc_executor_Delete().
Referenced by vlc_preparser_Delete().
input_fetcher_t * input_fetcher_New | ( | vlc_object_t * | owner | ) |
This function creates the fetcher object and thread.
References input_fetcher_t::album_cache, input_fetcher_t::executor_downloader, input_fetcher_t::executor_local, input_fetcher_t::executor_network, task::fetcher, input_fetcher_t::lock, input_fetcher_t::owner, input_fetcher_t::submitted_tasks, unlikely, var_InheritInteger(), vlc_dictionary_init(), vlc_executor_Delete(), vlc_executor_New(), vlc_list_init(), and vlc_mutex_init().
Referenced by vlc_preparser_New().
int input_fetcher_Push | ( | input_fetcher_t * | fetcher, |
input_item_t * | item, | ||
input_item_meta_request_option_t | options, | ||
const input_fetcher_callbacks_t * | cbs, | ||
void * | cbs_userdata | ||
) |
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 task::cbs, task::executor, input_fetcher_t::executor_local, input_fetcher_t::executor_network, task::fetcher, task::item, META_REQUEST_OPTION_FETCH_ANY, META_REQUEST_OPTION_FETCH_LOCAL, task::options, and Submit().
Referenced by Fetch().