summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-04 23:37:38 +0100
committerwm4 <wm4@nowhere>2015-02-04 23:37:38 +0100
commit23fd114299591b7a5d358627e0540a9c44bd5991 (patch)
tree212ffaf25f5b62fdcd17c6fd3d619a3ab7ca3da4 /video/out/gl_video.h
parent9248f75853f8b316d0aca1cb3960e53df12b1331 (diff)
downloadmpv-23fd114299591b7a5d358627e0540a9c44bd5991.tar.bz2
mpv-23fd114299591b7a5d358627e0540a9c44bd5991.tar.xz
vo_opengl: redraw when pausing while showing an interpolated frame
If smoothmotion is enabled, and the screen shows an interpolated frame the moment you pause, redraw a non-interpolated frame.
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r--video/out/gl_video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h
index 195ab40902..490b49bb7e 100644
--- a/video/out/gl_video.h
+++ b/video/out/gl_video.h
@@ -86,6 +86,7 @@ void gl_video_resize_redraw(struct gl_video *p, int w, int h);
void gl_video_set_gl_state(struct gl_video *p);
void gl_video_unset_gl_state(struct gl_video *p);
void gl_video_reset(struct gl_video *p);
+bool gl_video_showing_interpolated_frame(struct gl_video *p);
struct gl_hwdec;
void gl_video_set_hwdec(struct gl_video *p, struct gl_hwdec *hwdec);