1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 23:20:15 +00:00
mpv/player
wm4 0a749a38f7 video: add a shitty hack to avoid missing subtitles with vf_sub
update_subtitles() makes sure all subtitle packets at/before the given
PTS have been read and processed. Normally, this function is only called
before sending a frame to the VO. This is too late for vf_sub, which
expects the subtitles to be updated before feeding a frame to the
filters.

Apparently this was specifically a problem for the first frame.
Subsequent frames might have been ok due to general prefetching.

(This will fail anyway, should a filter dare to add an offset to the
timestamps of the filered frames before they pass to vf_sub.)

Fixes #5194.
2017-12-08 20:33:23 +02:00
..
javascript
lua Revert "ytdl: handle HLS with FFmpeg" 2017-12-07 00:46:27 -08:00
audio.c audio: fix missing volume update on init and reinit 2017-12-01 21:18:06 +01:00
client.c client: Allow "C.UTF-8" as LC_NUMERIC locale 2017-11-30 21:06:37 +02:00
client.h
command.c vd_lavc: rewrite how --hwdec is handled 2017-12-01 21:11:43 +01:00
command.h build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
configfiles.c
core.h player: use start timestamp for ab-looping if --ab-loop-a is absent 2017-12-03 22:23:24 -05:00
external_files.c player: match subtitles with language tags with --sub-auto=exact 2017-11-27 19:45:13 +01:00
external_files.h
javascript.c js: fix broken mp.set_property_number, mp.set_property_native 2017-09-23 14:41:17 +03:00
lavfi.c lavfi: fix warnings with newer libavfilter versions 2017-10-27 18:09:08 +02:00
lavfi.h
loadfile.c player: when loading external file, always add all track types 2017-12-07 23:48:16 -08:00
lua.c lua: integrate stats.lua script 2017-10-09 20:47:33 +02:00
main.c player: log if NDEBUG is defined 2017-11-04 17:48:30 +01:00
misc.c player/misc.c: allow both --length and --end to control play endpoint 2017-12-04 12:34:02 -05:00
osd.c player/osd.c: fix putting --start time on OSD 2017-12-05 17:15:08 -05:00
playloop.c player/playloop.c: fix --loop-file without --start 2017-12-05 14:36:47 -05:00
screenshot.c screenshot: create directories from template 2017-11-02 17:07:35 +01:00
screenshot.h
scripting.c scripting: report dlerror() output 2017-12-01 21:13:48 +01:00
sub.c
video.c video: add a shitty hack to avoid missing subtitles with vf_sub 2017-12-08 20:33:23 +02:00