summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-31 18:16:30 +0100
committerwm4 <wm4@nowhere>2013-11-02 19:06:16 +0100
commit504c45256809ddfa6c79dc31e38882d87b86af59 (patch)
treeb7c54b4dd402b0c0c028a6009d85c44d094dddbb /Makefile
parentee54711cebffd7e8c6f54b019f2fef14d3214ac8 (diff)
downloadmpv-504c45256809ddfa6c79dc31e38882d87b86af59.tar.bz2
mpv-504c45256809ddfa6c79dc31e38882d87b86af59.tar.xz
sd_lavc: display DVD subs with unknown duration
DVD subs (rarely) have subtitle events without end timestamp. The duration is unknown, and they should be displayed until they're replaced by the next event. FFmpeg fails hard to make us aware whether duration is unknown or actually 0, so we can't distinguish between these two cases. It fails at this twice: AVPacket.duration is set to 0 if duration is unknown, and AVSubtitle.end_display_time has the same issue. Add a hack that considers all bitmap subtitles with duration==0 as events with uknown length. I'd rather accidentally display a hidden subtitle (if they exist at all), instead of not displaying random subtitles at all. See github issue #325.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions