0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/sub
wm4 c23c9e22ae lavc_conv: clamp timestamps to positive, fixes idiotic ffmpeg issue
In some cases, demux_mkv will detect a start time slightly above 0, but
there might still be a subtitle starting at exactly 0. When the player
rebases the timestamps to assumed start time, the subtitle will have a
slightly negative timestamp in the end. libavcodec's subtitle converter
turns this into a larger number due to underflow. Fix by clamping
subtitles always to 0, which may or may not be what you want.

At least it fixes #5047.
2017-10-27 18:40:33 +02:00
..
ass_mp.c ass_mp: change license to LGPL 2017-04-20 12:53:09 +02:00
ass_mp.h ass_mp: change license to LGPL 2017-04-20 12:53:09 +02:00
dec_sub.c demux: get rid of demux_packet.new_segment field 2017-10-24 19:35:55 +02:00
dec_sub.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
draw_bmp.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
filter_sdh.c filter_sdh: remove pointless set_pos function 2017-04-20 08:22:46 +02:00
img_convert.c sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c lavc_conv: clamp timestamps to positive, fixes idiotic ffmpeg issue 2017-10-27 18:40:33 +02:00
osd_dummy.c command: shorten long playlists on OSD 2017-01-26 18:24:53 +01:00
osd_font.otf osd-font: make volume muted glyph slightly thicker 2017-04-22 18:03:16 +01:00
osd_libass.c osd_libass: avoid libass warnings if scripts set ASS text early 2017-07-16 13:33:19 +02:00
osd_state.h osd_libass: avoid libass warnings if scripts set ASS text early 2017-07-16 13:33:19 +02:00
osd.c vo_opengl: don't discard buffered video on redundant resize calls 2017-08-29 15:15:34 +02:00
osd.h vo_opengl: don't discard buffered video on redundant resize calls 2017-08-29 15:15:34 +02:00
sd_ass.c options: slight cleanup of --sub-ass-style-override 2017-06-07 15:55:03 +02:00
sd_lavc.c Replace remaining avcodec_close() calls 2017-07-16 12:51:48 +02:00
sd.h sub: add SDH subtitle filter 2017-03-25 15:04:05 +01:00