summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-04-18 13:39:33 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-23 16:49:48 +0200
commit9f828b327e680c322a70883910233337a37e481e (patch)
treee7fb8e4c3ef3ed6324cc1a9e25fd97af3c8bd5e1 /wscript
parent2666e3232a9520c3b0fa94c48a689880cdde13fc (diff)
Fix late subtitles when they are muxed late with respect to the video.
In one example we have the sequence video 3088,377 sub 3087,334 sub 3088,710 video 3088,419 so the 3087,334 sub is very late. Here we insert a queue to bring subtitle packets a little forward for processing. There is already a similar thing in the player (_delay) but adding a longer delay there seems wasteful because a) the video is by that point already decompressed and b) this problem only applies to FFmpeg-decoded files (and then, I think only if we are previewing or burning in subtitles).
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions