mpv/sub
wm4 c61675320b sd_ass: assume negative durations are unknown durations, and handle them
The FFmpeg can officially not distinguish between unknown subtitle
durations, and subtitle durations being 0. (It documents the value 0
meaning unknown duration.)

In practice, at least the LRC demuxer signals unknown subtitle durations
with a negative value.

Assume negative durations mean unknown duration. Show subtitles with
unknown duration forever. Unless there's a subtitle event following it;
then reset the duration so that it ends on the new subtitle event.

Fixes #2244.
2015-08-27 23:45:02 +02:00
..
ass_mp.c Update license headers 2015-04-13 12:10:01 +02:00
ass_mp.h Update license headers 2015-04-13 12:10:01 +02:00
dec_sub.c charset_conv: make it possible to return an allocated string as guess 2015-08-01 23:49:37 +02:00
dec_sub.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00
draw_bmp.c Update license headers 2015-04-13 12:10:01 +02:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
find_subfiles.c player: use an array for stream ID options and such 2015-05-22 21:00:24 +02:00
find_subfiles.h Update license headers 2015-04-13 12:10:01 +02:00
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h
osd.c player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
osd.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
osd_libass.c Update license headers 2015-04-13 12:10:01 +02:00
osd_state.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
sd.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00
sd_ass.c sd_ass: assume negative durations are unknown durations, and handle them 2015-08-27 23:45:02 +02:00
sd_lavc.c sub: add option for stretching image subtitles to screen 2015-07-18 14:36:17 +02:00
sd_lavc_conv.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_lavf_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_microdvd.c Update license headers 2015-04-13 12:10:01 +02:00
sd_movtext.c
sd_srt.c Update license headers 2015-04-13 12:10:01 +02:00