summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpvcore/mplayer.c7
-rw-r--r--video/out/vo_image.c5
2 files changed, 1 insertions, 11 deletions
diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c
index 33a878176c..1d4be97605 100644
--- a/mpvcore/mplayer.c
+++ b/mpvcore/mplayer.c
@@ -3377,13 +3377,8 @@ static bool handle_osd_redraw(struct MPContext *mpctx)
want_redraw |= mpctx->osd->want_redraw;
mpctx->osd->want_redraw = false;
if (want_redraw) {
- if (redraw_osd(mpctx)) {
+ if (redraw_osd(mpctx))
return true;
- } else if (mpctx->paused) {
- // force redrawing OSD by framestepping
- add_step_frame(mpctx, 1);
- return true;
- }
}
return false;
}
diff --git a/video/out/vo_image.c b/video/out/vo_image.c
index bb3264f597..411cdfd98b 100644
--- a/video/out/vo_image.c
+++ b/video/out/vo_image.c
@@ -143,11 +143,6 @@ static int preinit(struct vo *vo)
static int control(struct vo *vo, uint32_t request, void *data)
{
- switch (request) {
- // prevent random frame stepping by frontend
- case VOCTRL_REDRAW_FRAME:
- return true;
- }
return VO_NOTIMPL;
}