1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-17 04:22:41 +00:00
mpv/demux
Dudemanguy 4ef7931266 demux_lavf: drop jpeg frames that are at a nonzero pos
There are jpg files out there that have extra embedded metadata
(pictures from smartphones commonly have an embedded gain map). ffmpeg
doesn't currently support this, so mpv currently sees the extra metadata
as essentially another frame. This results in weird video-like behavior.
Until ffmpeg support this more properly, we can work around this by
simply discarding extra packets and not sending the new frame to the
internal playloop. If demux_lavf detects that the stream is a
single-frame jpg, then we only accepts the packet at pos 0. Anything
else is discarded. Ref #13192.
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
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
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 demux_lavf: drop jpeg frames that are at a nonzero pos 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_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
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
timeline.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00