1
mirror of https://github.com/mpv-player/mpv synced 2024-10-06 14:54:02 +02:00
mpv/demux
wm4 d0fee0ac33 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.)
2015-03-02 19:09:40 +01:00
..
codec_tags.c demux_mkv: support embedded coverart 2014-12-22 12:53:51 +01:00
codec_tags.h demux_mkv: support embedded coverart 2014-12-22 12:53:51 +01:00
demux_cue.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
demux_disc.c demux: change demux_open() signature 2015-02-20 21:21:14 +01:00
demux_edl.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
demux_lavf.c demux_lavf: use this for image formats 2015-03-02 19:09:40 +01:00
demux_libass.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
demux_mf.c demux_mf: move mf.c contents to demux_mf.c 2014-12-29 23:09:50 +01:00
demux_mkv_timeline.c demux_mkv_timeline: fix potential issue when enabling cache 2015-02-25 13:31:37 +01:00
demux_mkv.c buid: readd -Wparentheses 2015-03-02 19:09:25 +01:00
demux_playlist.c player: refine rar:// playlist-safety handling 2015-03-02 19:09:36 +01:00
demux_raw.c demux_raw: output smaller audio packets 2015-02-04 10:42:23 +01:00
demux_subreader.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
demux_tv.c audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
demux.c stream: remove stream filter concept 2015-02-27 19:51:14 +01:00
demux.h demux: add a demux_open_url() function 2015-02-20 21:56:55 +01:00
ebml.c demux_mkv: fix EBML parsing checks 2015-01-12 14:31:31 +01:00
ebml.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
matroska.h matroska: make timeline code independent of MPContext 2015-02-17 23:46:50 +01:00
packet.c demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
packet.h demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
stheader.h video: remove redundant codec parameters 2015-02-24 11:56:48 +01:00
timeline.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
timeline.h demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00