summaryrefslogtreecommitdiffstats
path: root/player/misc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-22 23:48:29 +0200
committerwm4 <wm4@nowhere>2014-07-22 23:48:29 +0200
commit870dc8483954ea0cb80bee1473b6ae58ae64bdce (patch)
tree5d4304143beae324259beb3e489ad1a64a346e67 /player/misc.c
parentaa1a383342f72fb0dfb1fb016535735bc0480e7e (diff)
downloadmpv-870dc8483954ea0cb80bee1473b6ae58ae64bdce.tar.bz2
mpv-870dc8483954ea0cb80bee1473b6ae58ae64bdce.tar.xz
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.)
Diffstat (limited to 'player/misc.c')
0 files changed, 0 insertions, 0 deletions