]> git.sesse.net Git - vlc/commitdiff
meta: cache pict art
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sun, 19 Oct 2014 22:20:38 +0000 (00:20 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Sun, 19 Oct 2014 22:25:00 +0000 (00:25 +0200)
src/input/meta.c

index 17987e3c2feea498d40241f6686ce4b64aaabf25..9b17be498f230a73f7156c25c8c9bed124dbadde 100644 (file)
@@ -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 );