diff options
author | wm4 <wm4@nowhere> | 2015-03-02 19:09:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-02 19:09:40 +0100 |
commit | d0fee0ac33a02e3dcb6c4b27b554be70e6b64e7a (patch) | |
tree | 7106045af29e7f7a915c3c804347cb4dfb8a01a7 /old-makefile | |
parent | a4b6bf8c41b54554286117b97e78412a32b5147f (diff) |
demux_lavf: use this for image formats
Use the (relatively new) libavformat image format probing functionality,
instead of letting demux_mf guess by file extension and MIME type.
The libavformat support is weird, though. Traditionally, it uses an
absolutely terrible hack to detect images by extension, _and_ (which is
the horrible part) will randomly interpret parts of the filename as
specifiers for matching by number. So something like '%03d' will be
interpreted as placeholder for a frame number. The worst part is that
such character sequences can be perfectly valid and common in http URLs.
This is known as "image2" demuxer. The newer support, which probes by
examining the file header, is split into several format-specific
demuxers with names ending in "_pipe". So we check for such a name
suffix. (At this point we're doing fine-grained hacking around ffmpeg
weirdness, so a clean solution is impossible anyway until upstream
changes.)
Diffstat (limited to 'old-makefile')
0 files changed, 0 insertions, 0 deletions