0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/player
wm4 870dc84839 sub: offset subtitle timing to video start PTS
This allows using external subtitle files with e.g. transport stream
files that don't start at time 0.

Note that if the .ts file has timestamp resets, everything goes south.
But I guess this was already the case before, unless there are external
subtitle files that also include timestamp resets, which is unlikely.
(On the other hand, you could for example expect that it works with
embedded DVB subtitles, that were somehow captured from the same stream
and use the same timestamps.)
2014-07-22 23:48:29 +02:00
..
lua osc: improve previous commit 2014-07-10 11:22:05 +02:00
timeline demux: make start time a simple field 2014-07-05 17:07:15 +02:00
audio.c audio: remove unused metadata field 2014-07-21 19:29:58 +02:00
client.c client API: allow calling mpv_terminate_destroy(NULL) 2014-07-04 02:24:49 +02:00
client.h Add more const 2014-06-11 00:39:14 +02:00
command.c command: potentially fix dvd angle setting 2014-07-20 20:13:07 +02:00
command.h command: redo the property type 2014-06-13 02:11:39 +02:00
configfiles.c Revert "Remove DVD and Bluray support" 2014-07-15 01:49:02 +02:00
core.h player: fix regression with ordered chapters 2014-07-20 20:13:08 +02:00
discnav.c demux: add a demuxer thread 2014-07-16 23:25:56 +02:00
loadfile.c player: readd code accidentally removed with commit 61efe87e 2014-07-20 20:41:20 +02:00
lua.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
main_fn.c build: add option to build a library 2014-02-10 21:25:22 +01:00
main.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
misc.c demux: add a demuxer thread 2014-07-16 23:25:56 +02:00
osd.c osd: properly handle OSD bar timeout 2014-07-21 19:35:20 +02:00
playloop.c player: fix idle mode event handling 2014-07-22 19:33:24 +02:00
screenshot.c player: make the time display relative to start PTS 2014-06-29 20:39:49 +02:00
screenshot.h Move mpvcore/player/ to player/ 2013-12-17 00:53:22 +01:00
scripting.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
sub.c sub: offset subtitle timing to video start PTS 2014-07-22 23:48:29 +02:00
video.c video: fix corner case with accidental EOF 2014-07-22 21:08:42 +02:00