[vlc-commits] src/misc/image.c: recognize SVG images on mime-type and extension.

Jean-Paul Saman git at videolan.org
Mon May 12 17:00:21 CEST 2014


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Mon Mar 31 13:55:31 2014 +0200| [13aa51f860e87d73e48fae104341af368c1a4557] | committer: Jean-Paul Saman

src/misc/image.c: recognize SVG images on mime-type and extension.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13aa51f860e87d73e48fae104341af368c1a4557
---

 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" },



More information about the vlc-commits mailing list