VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
fetcher.h File Reference

Go to the source code of this file.

Typedefs

typedef struct playlist_fetcher_t playlist_fetcher_t
 Fetcher opaque structure.

Functions

playlist_fetcher_tplaylist_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 Documentation

Fetcher opaque structure.

The fether object will retreive the art album data for any given input item in an asynchronous way.

Function Documentation

void playlist_fetcher_Delete ( playlist_fetcher_t )
playlist_fetcher_t* playlist_fetcher_New ( vlc_object_t )
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().