[FFmpeg-devel] [PATCH 2/3] img2dec: add support for piped SVG demuxing

Rostislav Pehlivanov atomnuker at gmail.com
Tue May 16 14:25:55 EEST 2017

On 16 May 2017 at 11:57, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2017-05-08 6:46 GMT+02:00 Rostislav Pehlivanov <atomnuker at gmail.com>:
> > Only checks the extension and MIME type, since determining whether
> > a file is SVG is difficult since they're just XML files.
> Why didn't you just add svg and svgz to the image2 extensions?
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

image2 doesn't use extensions, it probes. Hence why I couldn't use the
macro, since it doesn't actually make lavf check the extension and probing
svg is difficult (and librsvg doesn't offer support for probing).

More information about the ffmpeg-devel mailing list