mpv/video
wm4 94e71b7cc0 mplayer, vo_image: simplify OSD redrawing, fix vo_image crash
vo_image didn't handle OSD redrawing correctly anymore after OSD
redrawing behavior was changed in commit ed9295c (or maybe it has been a
problem for a longer time, and only showed up now). Basically, flip_page
was called unexpectedly and when no image was stored, which made it
crash trying to access the image. This could happen when for example
provoking OSD redrawing by pausing while using --vo=image, or by using
this command line: mpv --vo=image '-vf=lavfi="select=not(mod(n\,3))"'

Fix by removing the code that pretends vo_image can redraw OSD, and by
removing the framestepping fallback, which could make bad things happen
if the VO didn't support OSD redrawing. By now, there aren't any real
VOs that can't redraw the OSD properly, so this code is not needed and
just complicates things like vo_image.

This change likely will also be useful for vo_lavc (encoding).
2013-10-13 23:40:23 +02:00
..
decode cosmetics: replace "CTRL" defines by enums 2013-10-02 21:19:16 +02:00
filter cosmetics: replace "CTRL" defines by enums 2013-10-02 21:19:16 +02:00
out mplayer, vo_image: simplify OSD redrawing, fix vo_image crash 2013-10-13 23:40:23 +02:00
csputils.c video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
csputils.h video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
fmt-conversion.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
fmt-conversion.h
image_writer.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
image_writer.h image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
img_format.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
img_format.h video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
img_fourcc.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
memcpy_pic.h vf_expand: support more image formats 2013-01-13 20:04:13 +01:00
mp_image.c talloc: change talloc destructor signature 2013-10-13 01:16:30 +02:00
mp_image.h Fix previous commit 2013-09-25 22:44:12 +02:00
mp_image_pool.c talloc: change talloc destructor signature 2013-10-13 01:16:30 +02:00
mp_image_pool.h mp_image_pool: make reference counting thread-safe 2013-07-28 19:25:07 +02:00
sws_utils.c talloc: change talloc destructor signature 2013-10-13 01:16:30 +02:00
sws_utils.h vf_scale: factor out libswscale equalizer control 2013-09-30 00:45:58 +02:00
vaapi.c video/out: always support redrawing VO window at any point 2013-10-02 00:36:26 +02:00
vaapi.h vaapi: check image format in va_surface_upload() 2013-09-27 18:00:03 +02:00
vdpau.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
vdpau.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vdpau_functions.inc vo_vdpau: allow setting colorkey 2013-08-17 20:06:20 +02:00
vfcap.h core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00