1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 02:41:13 +00:00
mpv/mpvcore
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
..
input command: add commands for displaying overlays 2013-10-05 22:46:55 +02:00
lua osc: fix mouse hiding 2013-10-13 05:38:13 +02:00
timeline matroska: fix uninitialized memory accesses with ordered chapters 2013-09-26 18:20:32 +02:00
asxparser.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
asxparser.h
av_common.c
av_common.h
av_log.c av_log: show ffmpeg "info" messages with -v only 2013-09-15 00:43:43 +02:00
av_log.h
av_opts.c
av_opts.h
bstr.c bstr: make UTF-8 check stricter 2013-08-15 23:40:03 +02:00
bstr.h bstr: add UTF-8 validation and sanitation functions 2013-08-15 23:40:02 +02:00
charset_conv.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
charset_conv.h sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
codecs.c
codecs.h
command.c command: preferably show "add"/"cycle"/"set" command errors on OSD 2013-10-12 18:57:02 +02:00
command.h command: add commands for displaying overlays 2013-10-05 22:46:55 +02:00
cpudetect.c
cpudetect.h
encode_lavc.c
encode_lavc.h
encode.h
m_config.c talloc: change talloc destructor signature 2013-10-13 01:16:30 +02:00
m_config.h
m_option.c mplayer: m_option: fix clang -Wformat compiler warning 2013-09-14 20:49:55 +02:00
m_option.h mplayer: start track IDs from 1 rather than 0 2013-08-21 18:32:42 +02:00
m_property.c command: when changing a property, allow showing an extra OSD message 2013-09-21 00:07:42 +02:00
m_property.h command: when changing a property, allow showing an extra OSD message 2013-09-21 00:07:42 +02:00
mp_common.c mp_common: add function which accepts a format string to format playback time 2013-09-15 02:51:17 +02:00
mp_common.h Fix previous commit 2013-09-25 22:44:12 +02:00
mp_core.h mplayer: fix looping of very short files 2013-09-29 21:10:45 +02:00
mp_lua.c input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
mp_lua.h Add initial Lua scripting support 2013-09-26 01:28:58 +02:00
mp_memory_barrier.h
mp_msg.c
mp_msg.h Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
mp_osd.h
mp_ring.c mp_ring: fix mp_ring_read_cb() when read wraps around 2013-10-08 20:03:57 +02:00
mp_ring.h
mp_talloc.h
mplayer.c mplayer, vo_image: simplify OSD redrawing, fix vo_image crash 2013-10-13 23:40:23 +02:00
mpv_global.h
options.c options: --loop=N means playback N times, not N+1 times 2013-10-12 18:57:02 +02:00
options.h core: add --force-window 2013-10-02 01:39:28 +02:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
parser-mpcmd.h
path.c macosx: move bundle path stuff to path-macosx.m 2013-09-18 19:30:11 +02:00
path.h path: add a common mp_is_url() function 2013-09-04 16:15:08 +02:00
playlist_parser.c playlist: check for NULL on caller site 2013-10-12 18:57:02 +02:00
playlist_parser.h core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
playlist.c playlist: check for NULL on caller site 2013-10-12 18:57:02 +02:00
playlist.h mplayer: fix looping of very short files 2013-09-29 21:10:45 +02:00
resolve_quvi9.c libquvi9: work around insane interaction between libquvi and libkdecore 2013-10-12 18:56:03 +02:00
resolve_quvi.c quvi: coerce libquvi 0.4 support into allowing format switching 2013-09-10 16:38:34 +02:00
resolve.h quvi: coerce libquvi 0.4 support into allowing format switching 2013-09-10 16:38:34 +02:00
screenshot.c core: add --force-window 2013-10-02 01:39:28 +02:00
screenshot.h
version.c