[vlc-devel] [PATCH 1/3] Use fetcher to download playback content from http/ftp
Francois Cartegnie
fcvlcdev at free.fr
Fri Jan 18 18:49:40 CET 2013
Le 05/01/2013 22:12, Mario Speiß a écrit :
If the goal of this patch is to speed up things, directly knowing the
matching url, there's already a speedup for this used in lua sd.
An uid is computed for the item and stored in cache. (bypasses both lua
art lookups, and downloadings).
Check in your code below:
> /* TODO-fenrir if we cache art filename too, we can go faster */
> @@ -179,7 +182,7 @@ static int FindArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
> if ( playlist_FindArtInCacheUsingItemUID( p_item ) != VLC_SUCCESS )
> playlist_FindArtInCache( p_item );
> else
> - msg_Dbg( p_fetcher->object, "successfully retrieved arturl by uid" );
> + msg_Dbg( p_fetcher->p_playlist, "successfully retrieved arturl by uid" );
Francois
More information about the vlc-devel
mailing list