0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/out
wm4 32cc190a55 player: fix display-sync timing if audio take long on resume
In display-sync mode, the very first video frame is idiotically fully
timed, even though audio has not been synced yet at this point, and the
video frame is more like a "preview" frame. But since it's fully timed,
an underflow is detected if audio takes longer than the display time of
the frame (we send the second frame only after audio is done).

The timing code will try to compensate for the determined desync, but it
really shouldn't. So explicitly discard the timing info in this specific
case. On the other hand, if the first frame still hasn't finished
display, we can pretend everything is ok.

This is a hack - ideally, we either would send a frame without timing
info (and then send it again or so when playback starts properly), or we
would add real pause support to the VO, and pause it during syncing.
2016-08-07 14:14:32 +02:00
..
cocoa cocoa: fix display refresh rate retrieval on multi monitor setups 2016-06-18 19:15:36 +02:00
opengl wayland_common: fix fullscreen image switching bug 2016-07-30 15:33:00 +02:00
wayland Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
win32 mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
aspect.c aspect: rework --video-unscaled 2016-04-10 18:29:20 +02:00
aspect.h Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.c bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_common.h vo_opengl: cocoa: switch to new internal API 2015-10-01 22:42:25 +02:00
cocoa_common.m cocoa: remove unused icc profile variables 2016-07-21 08:48:45 +02:00
d3d_shader_420p.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_nv12.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_yuv.hlsl vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
dither.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
drm_common.c build: silence -Wunused-result 2016-06-07 14:12:33 +02:00
drm_common.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
filter_kernels.c filter_kernels: improve the gaussian function 2016-01-07 12:17:34 +01:00
filter_kernels.h filter_kernels.h: adjust the license 2016-01-19 18:41:11 +01:00
vo_caca.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_direct3d.c vo_direct3d: remove bitmap packer 2016-07-01 20:28:49 +02:00
vo_drm.c vo_opengl: allow backends to provide callbacks for custom event loops 2016-07-20 20:42:30 +02:00
vo_image.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
vo_lavc.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_null.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_opengl_cb.c vo_opengl_cb: log better error message if OpenGL not initialized by user 2016-08-03 19:18:00 +02:00
vo_opengl.c vo_opengl: glctx can be NULL during init 2016-07-21 16:07:15 +02:00
vo_rpi.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_sdl.c vo_opengl: allow backends to provide callbacks for custom event loops 2016-07-20 20:42:30 +02:00
vo_vaapi.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo_vdpau.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo_wayland.c wayland_common: fix fullscreen image switching bug 2016-07-30 15:33:00 +02:00
vo_x11.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo_xv.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo.c player: fix display-sync timing if audio take long on resume 2016-08-07 14:14:32 +02:00
vo.h player: fix display-sync timing if audio take long on resume 2016-08-07 14:14:32 +02:00
w32_common.c w32_common: don't wait for GUI thread when polling for events 2016-08-05 16:04:57 +02:00
w32_common.h vo_direct3d: fix operation 2015-10-31 12:52:02 +01:00
wayland_common.c wayland_common: check for NULL current_output on fs switching 2016-08-01 22:16:40 +02:00
wayland_common.h wayland_common: remove untested/unusable wayland dnd code 2016-07-30 00:02:39 +02:00
win_state.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
win_state.h video/out: separate out code to compute window size 2014-05-06 20:22:32 +02:00
x11_common.c osdep/io: introduce mp_flush_wakeup_pipe() 2016-07-30 00:02:39 +02:00
x11_common.h x11: do not accidentally discard event flags 2016-07-25 11:28:06 +02:00
x11_icon.bin x11: add window icon 2013-09-01 23:27:33 +02:00