0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/demux
Dudemanguy a900d41b1e Revert "demux_lavf: pass jpg filenames to ffmpeg for probing"
Passing jpg filenames to ffmpeg is actually quite bad. This causes all
jpg images (at least in my testing) to be probed as image2 which is
blacklisted in demux_lavf since it's completely broken (see commit
74e62ed2d1 for some details). What happens
in practice is that the lavf demxuer fails and the it opens in the mf
demuxer instead. This is OK for simple viewing, but because that demuxer
is limited, many specific file properities and other things are
completely unavailable which breaks any script that may depend on them
(e.g. width, height, etc.) For the small subset of files that this
commit appeared to "fix" (in reality, it just fell back to the mf
demuxer) is not worth breaking property usage in the vast majority of
normal proper files. Ideally ffmpeg should fix this but some other
workaround on our end can be used instead.

This reverts commit d0aeca5918.
2024-06-13 19:12:29 +00:00
..
cache.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
cache.h demux: add a on-disk cache 2019-09-19 20:37:05 +02:00
codec_tags.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
codec_tags.h Revert "demux: put type2format into codec_tags with helper functions" 2024-02-06 18:08:53 +01:00
cue.c cue: tolerate NBSP as whitespace 2020-02-03 19:13:44 +01:00
cue.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
demux_cue.c osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
demux_disc.c csputils: replace more primitives with pl_ 2024-01-22 14:54:55 +00:00
demux_edl.c demux_edl: make protocol comparison case insensitive 2024-05-08 18:52:40 +02:00
demux_lavf.c Revert "demux_lavf: pass jpg filenames to ffmpeg for probing" 2024-06-13 19:12:29 +00:00
demux_libarchive.c player: change insert_next to insert_at 2024-02-26 02:03:21 +00:00
demux_mf.c various: add missing checks for directory streams 2024-05-15 22:45:18 +02:00
demux_mkv_timeline.c osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
demux_mkv.c command: add dolby-vision-profile and dolby-vision-level to track-list 2024-05-10 01:26:30 +02:00
demux_null.c demux_null: mark as seekable 2018-01-06 14:42:22 -08:00
demux_playlist.c osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
demux_raw.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
demux_timeline.c Revert "demux: improve stream selection state" 2023-09-30 09:02:57 -05:00
demux.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
demux.h demux: keep track of ts information per stream type 2024-05-05 14:11:47 +02:00
ebml.c build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
ebml.h demux/packet: add support for ITU T.35 metadata in Matroska 2024-04-29 01:37:02 +02:00
matroska.h ebml, matroska.h: change license to LGPL 2017-04-21 13:34:10 +02:00
packet.c sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
packet.h sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
stheader.h command: add dolby-vision-profile and dolby-vision-level to track-list 2024-05-10 01:26:30 +02:00
timeline.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
timeline.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00