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

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue May 16 15:09:24 EEST 2017


2017-05-16 13:48 GMT+02:00 Rostislav Pehlivanov <atomnuker at gmail.com>:
> On 16 May 2017 at 12:34, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
>> 2017-05-16 13:25 GMT+02:00 Rostislav Pehlivanov <atomnuker at gmail.com>:
>> > 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?
>>
>> > image2 doesn't use extensions, it probes.
>>
>> The image2 demuxer only "probes" by looking at extensions.

> I see what you mean now, pushed a patch to use the same way of
> probing as the rest of img2dec.

What I meant was:
"Why didn't you add svg to the file libavformat/img2.c?"

Carl Eugen


More information about the ffmpeg-devel mailing list