1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/video/out
wm4 ff25c0ad7d vo_opengl: fix "freezes" after seeking with interpolation on
When seeking to a different position, and seeking takes long, the OSD
might get redrawn. This means that the VO will receive a request to
redraw an old frame using whatever the previous PTS was. This breaks the
interpolation logic: the old frame will be added to the queue, and then
the next frames (with lower PTS if you seeked backwards) are not drawn
as the logic assumes they're past frames.

Fix this by using the non-interpolation code path when redrawing after a
seek reset, and no "real" frame has been drawn yet.

It's a recent regression caused by the redrawing code simplification.
The old code simply sent a VOCTRL for redrawing the frame, and the VO
had to deal with retaining the old frame on its own.

This is a hack as in there's probably a better solution.

Fixes #2097.
2015-07-02 13:18:06 +02:00
..
cocoa
wayland Remove trailing whitespaces 2015-05-15 11:02:44 +02:00
aspect.c video: fix panscan in vertical case 2015-06-29 23:46:59 +02:00
aspect.h Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.c Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.h
cocoa_common.h cocoa: redo synchronization 2015-05-13 22:00:34 +02:00
cocoa_common.m cocoa: don't load hardcoded icon if running from bundle 2015-05-25 08:58:32 +02:00
d3d_shader_420p.h
d3d_shader_nv12.h
d3d_shader_yuv.hlsl
dither.c Update license headers 2015-04-13 12:10:01 +02:00
dither.h
drm_common.c vo_drm: fix missing newlines in error messages 2015-06-28 15:22:11 +02:00
drm_common.h vo_drm: extract vt_switcher to drm_common 2015-04-19 21:18:15 +02:00
filter_kernels.c Various spelling fixes 2015-06-18 19:36:58 +02:00
filter_kernels.h Update license headers 2015-04-13 12:10:01 +02:00
gl_cocoa.c cocoa: redo synchronization 2015-05-13 22:00:34 +02:00
gl_common.c vo_opengl: update EGL code 2015-07-02 00:25:30 +02:00
gl_common.h vo_opengl: update EGL code 2015-07-02 00:25:30 +02:00
gl_header_fixes.h Update license headers 2015-04-13 12:10:01 +02:00
gl_hwdec_vaglx.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
gl_hwdec_vda.c vo_opengl: vda: make it work anywhere 2015-05-21 20:27:22 +02:00
gl_hwdec_vdpau.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
gl_hwdec.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
gl_hwdec.h vo_opengl: remove hwdec unmap_image callback 2015-03-14 22:39:22 +01:00
gl_lcms.c vo_opengl: add support for custom shaders 2015-05-27 11:09:41 +02:00
gl_lcms.h vo_opengl: gl_lcms: replace icc-cache by icc-cache-dir 2015-05-01 21:52:08 +02:00
gl_osd.c gl_osd: fix license header 2015-06-08 22:13:00 +02:00
gl_osd.h vo_opengl: draw subtitles directly onto the video 2015-03-26 00:04:03 +01:00
gl_rpi.c RPI support 2015-03-29 16:09:56 +02:00
gl_utils.c vo_opengl: fix a small memory leak when loading user shaders 2015-06-09 22:42:03 +02:00
gl_utils.h vo_opengl: add support for custom shaders 2015-05-27 11:09:41 +02:00
gl_video.c vo_opengl: fix "freezes" after seeking with interpolation on 2015-07-02 13:18:06 +02:00
gl_video.h vo: change internal API for drawing frames 2015-07-01 22:38:02 +02:00
gl_w32.c vo_opengl: hardcode rquested GL version in backends 2015-05-14 13:07:00 +02:00
gl_wayland.c vo_opengl: hardcode rquested GL version in backends 2015-05-14 13:07:00 +02:00
gl_x11.c vo_opengl: X11: don't leak when GL init fails 2015-07-02 00:30:13 +02:00
gl_x11egl.c vo_opengl: X11 EGL: more detailed error reporting 2015-07-02 00:28:25 +02:00
vo_caca.c Update license headers 2015-04-13 12:10:01 +02:00
vo_direct3d.c video: do not align source position to 2 2015-05-21 19:27:54 +02:00
vo_drm.c vo_drm: make VT switching non mandatory 2015-06-28 17:11:51 +02:00
vo_image.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
vo_lavc.c Update license headers 2015-04-13 12:10:01 +02:00
vo_null.c vo_null: add framerate emulation 2015-05-24 23:27:18 +02:00
vo_opengl_cb.c vo_opengl_cb: fix interpolation code path 2015-07-01 22:38:13 +02:00
vo_opengl.c vo: change internal API for drawing frames 2015-07-01 22:38:02 +02:00
vo_rpi.c vo_rpi: update renderer size on display size changes too 2015-05-01 19:22:35 +02:00
vo_sdl.c vo_sdl: fix glaring memory leak 2015-06-25 09:55:24 +02:00
vo_vaapi.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vo_vdpau.c vo: better magic value for unknown vsync interval 2015-07-01 22:38:22 +02:00
vo_wayland.c Various spelling fixes 2015-06-18 19:36:58 +02:00
vo_xv.c x11: move GCs and background clearing to vo_xv 2015-07-01 23:55:10 +02:00
vo.c vo: reset frame timing when redrawing 2015-07-02 13:03:58 +02:00
vo.h vo: change internal API for drawing frames 2015-07-01 22:38:02 +02:00
w32_common.c win32: remove a wine hack 2015-06-20 14:32:14 +02:00
w32_common.h Update license headers 2015-04-13 12:10:01 +02:00
wayland_common.c vo_wayland: define opaque region 2015-03-23 21:53:32 +01:00
wayland_common.h vo_wayland: share frame callbacks. 2015-03-23 21:53:32 +01:00
win_state.c player: add --window-scale option 2015-04-24 23:27:12 +02:00
win_state.h
x11_common.c x11: move GCs and background clearing to vo_xv 2015-07-01 23:55:10 +02:00
x11_common.h x11: move GCs and background clearing to vo_xv 2015-07-01 23:55:10 +02:00
x11_icon.bin