summaryrefslogtreecommitdiffstats
path: root/sub/draw_bmp.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-03-01 16:13:15 +0100
committerwm4 <wm4@nowhere>2017-03-01 16:13:27 +0100
commit9080e4d468d0c50c8f863a873097a7632b48a7d6 (patch)
tree9792ea61535db4171553ea13c37c4f64253fcf0e /sub/draw_bmp.c
parentee9c850a00acdae06d8fe904c382182fc049a0a0 (diff)
downloadmpv-9080e4d468d0c50c8f863a873097a7632b48a7d6.tar.bz2
mpv-9080e4d468d0c50c8f863a873097a7632b48a7d6.tar.xz
demux_lavf: get total duration from per-track durations as fallback
Apparently fixes youtube mp4 streams if avformat_find_stream_info() is not called. Keeping audio/video track and other track durations separate is for the sake of embedded subtitle streams, where we want to include the duration of overlong subtitle streams (I think).
Diffstat (limited to 'sub/draw_bmp.c')
0 files changed, 0 insertions, 0 deletions