[vlc-commits] meta: cache pict art
Francois Cartegnie
git at videolan.org
Mon Oct 20 00:26:23 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 20 00:20:38 2014 +0200| [30a6b7de8519cb8d66ed189ac1d6bfd3c8bf7e00] | committer: Francois Cartegnie
meta: cache pict art
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=30a6b7de8519cb8d66ed189ac1d6bfd3c8bf7e00
---
src/input/meta.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/input/meta.c b/src/input/meta.c
index 17987e3..9b17be4 100644
--- a/src/input/meta.c
+++ b/src/input/meta.c
@@ -246,6 +246,8 @@ void input_ExtractAttachmentAndCacheArt( input_thread_t *p_input,
psz_type = ".jpg";
else if( !strcmp( p_attachment->psz_mime, "image/png" ) )
psz_type = ".png";
+ else if( !strcmp( p_attachment->psz_mime, "image/x-pict" ) )
+ psz_type = ".pct";
playlist_SaveArt( VLC_OBJECT(p_input), p_item,
p_attachment->p_data, p_attachment->i_data, psz_type );
More information about the vlc-commits
mailing list