mirror of
https://github.com/mpv-player/mpv
synced 2025-01-17 04:22:41 +00:00
4ef7931266
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. |
||
---|---|---|
.. | ||
cache.c | ||
cache.h | ||
codec_tags.c | ||
codec_tags.h | ||
cue.c | ||
cue.h | ||
demux_cue.c | ||
demux_disc.c | ||
demux_edl.c | ||
demux_lavf.c | ||
demux_libarchive.c | ||
demux_mf.c | ||
demux_mkv_timeline.c | ||
demux_mkv.c | ||
demux_null.c | ||
demux_playlist.c | ||
demux_raw.c | ||
demux_timeline.c | ||
demux.c | ||
demux.h | ||
ebml.c | ||
ebml.h | ||
matroska.h | ||
packet.c | ||
packet.h | ||
stheader.h | ||
timeline.c | ||
timeline.h |