mpv/video
wm4 793b43020c vo_lavc: remove messy delayed subtitle rendering logic
For some reason vo_lavc's draw_image can buffer the frame and encode it
only later. Also, there is logic for rendering the OSD (i.e. subtitles)
only when needed.

In theory this can lead to subtitles being pruned before it tries to
render them (as the subtitle logic doesn't know that the VO still needs
them later), although this probably never happens in reality.

The worse issue, that actually happened, is that if the last frame gets
buffered, it attempts to render subtitles in the uninit callback. At
this point, the subtitle decoder is already torn down and all subtitles
removed, thus it will draw nothing. This didn't always happen. I'm not
sure why - potentially in the working cases, the frame wasn't buffered.

Since this logic doesn't have much worth, except a minor performance
advantage if frames with subtitles are dropped, just remove it.

Hopefully fixes #4689.
2017-11-07 05:29:26 +01:00
..
decode vd_lavc: restore --hwdec-image-format and d3d11 opaque mode 2017-11-02 15:58:36 +01:00
filter Get rid of deprecated AVFrame accessors 2017-10-30 13:36:44 +01:00
out vo_lavc: remove messy delayed subtitle rendering logic 2017-11-07 05:29:26 +01:00
csputils.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
csputils.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
fmt-conversion.c Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
fmt-conversion.h
hwdec.c video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
hwdec.h vd_lavc: add support for nvdec hwaccel 2017-10-28 19:59:08 +02:00
image_loader.c
image_loader.h
image_writer.c
image_writer.h
img_format.c img_format: remove some guards against old ffmpeg API 2017-11-06 17:14:01 +01:00
img_format.h Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
mp_image.c vd_lavc: move display mastering data stuff to mp_image 2017-10-30 21:07:48 +01:00
mp_image.h video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
mp_image_pool.c video: remove special path for hwdec screenshots 2017-10-16 17:07:35 +02:00
mp_image_pool.h vf_vavpp: use libavutil hw frames API for frame pool and upload 2017-09-29 18:17:51 +02:00
sws_utils.c build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
sws_utils.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vaapi.c vaapi: Use libva2 message callbacks 2017-10-09 21:35:47 +02:00
vaapi.h vaapi: replace error macro implementation 2017-09-30 16:07:00 +02:00
vdpau.c vdpau: remove some more dead code 2017-10-16 18:19:19 +02:00
vdpau.h vdpau: remove some more dead code 2017-10-16 18:19:19 +02:00
vdpau_functions.inc
vdpau_mixer.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vdpau_mixer.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00