mpv/sub
wm4 504c452568 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.
2013-11-02 19:06:16 +01:00
..
ass_mp.c osd_libass: add "Default" dummy style 2013-09-26 17:49:54 +02:00
ass_mp.h osd_libass: add "Default" dummy style 2013-09-26 17:49:54 +02:00
dec_sub.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
dec_sub.h
draw_bmp.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
draw_bmp.h
find_subfiles.c find_subfiles: fix really dumb bug causing segfaults 2013-09-17 15:41:23 +02:00
find_subfiles.h find_subfiles: some cleanups 2013-09-07 20:34:49 +02:00
img_convert.c Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
img_convert.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
osd_dummy.c Add initial Lua scripting support 2013-09-26 01:28:58 +02:00
osd_font.otf osc: rename osd_font, add some glyphs 2013-09-08 03:35:04 +02:00
osd_libass.c osd_libass: add "Default" dummy style 2013-09-26 17:49:54 +02:00
sd.h
sd_ass.c command: sub_seek: avoid getting stuck 2013-10-07 17:21:53 +02:00
sd_lavc.c sd_lavc: display DVD subs with unknown duration 2013-11-02 19:06:16 +01:00
sd_lavc_conv.c sd_lavc_conv: fix build with older ffmpeg/libav 2013-08-24 20:07:05 +02:00
sd_lavf_srt.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_microdvd.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_movtext.c
sd_spu.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_srt.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
spudec.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
spudec.h
sub.c command: add commands for displaying overlays 2013-10-05 22:46:55 +02:00
sub.h command: add commands for displaying overlays 2013-10-05 22:46:55 +02:00