Commit 30a6b7de authored by Francois Cartegnie's avatar Francois Cartegnie

meta: cache pict art

parent efba61a6
...@@ -246,6 +246,8 @@ void input_ExtractAttachmentAndCacheArt( input_thread_t *p_input, ...@@ -246,6 +246,8 @@ void input_ExtractAttachmentAndCacheArt( input_thread_t *p_input,
psz_type = ".jpg"; psz_type = ".jpg";
else if( !strcmp( p_attachment->psz_mime, "image/png" ) ) else if( !strcmp( p_attachment->psz_mime, "image/png" ) )
psz_type = ".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, playlist_SaveArt( VLC_OBJECT(p_input), p_item,
p_attachment->p_data, p_attachment->i_data, psz_type ); p_attachment->p_data, p_attachment->i_data, psz_type );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment