[vlc-devel] [PATCH 06/10] src/misc/image.c: recognize SVG images on mime-type and extension.
jpsaman at videolan.org
jpsaman at videolan.org
Mon May 12 12:04:26 CEST 2014
From: Jean-Paul Saman <jpsaman at videolan.org>
---
src/misc/image.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/misc/image.c b/src/misc/image.c
index c399b8b..f5be25b 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -554,6 +554,7 @@ static const struct
{ VLC_FOURCC('x','c','f',' '), "xcf" },
{ VLC_CODEC_PCX, "pcx" },
{ VLC_CODEC_GIF, "gif" },
+ { VLC_CODEC_SVG, "svg" },
{ VLC_CODEC_TIFF, "tif" },
{ VLC_CODEC_TIFF, "tiff" },
{ VLC_FOURCC('l','b','m',' '), "lbm" },
@@ -607,6 +608,7 @@ static const struct
{ VLC_CODEC_JPEG, "image/jpeg" },
{ VLC_CODEC_PCX, "image/pcx" },
{ VLC_CODEC_PNG, "image/png" },
+ { VLC_CODEC_SVG, "image/svg+xml" },
{ VLC_CODEC_TIFF, "image/tiff" },
{ VLC_CODEC_TARGA, "image/x-tga" },
{ VLC_FOURCC('x','p','m',' '), "image/x-xpixmap" },
--
1.9.0
More information about the vlc-devel
mailing list