diff options
author | wm4 <wm4@nowhere> | 2016-04-02 17:39:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-02 17:41:12 +0200 |
commit | 7089175d8d45d7c75621e56d2a3623fe02e38960 (patch) | |
tree | a03553c843dd648a6ceb8b08145893e5ccc95276 /waftools | |
parent | eb740673b8a110f5d18879ba0080e9d3f13387d0 (diff) | |
download | mpv-7089175d8d45d7c75621e56d2a3623fe02e38960.tar.bz2 mpv-7089175d8d45d7c75621e56d2a3623fe02e38960.tar.xz |
sd_lavc: use decoder-reordered PTS for PGS
There is an obscure feature which requires essentially reordering PTS
from different packets.
Unfortunately, libavcodec introduced a ridiculously shitty API for
this, which works very much unlike the audio/video API. Instead of
simply passing through the PTS, it wants to fuck with it for no reason,
and even worse, fucks with other fields and changes their semantivcs
(??????). This affects AVSubtitle.end_display_time. This probably will
cause issues for us, and I have no desire to find out whether it will.
Since only PGS requires this, and it happens not to use
end_display_time, do it for PGS only.
Fixes #3016.
Diffstat (limited to 'waftools')
0 files changed, 0 insertions, 0 deletions