1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 07:46:55 +00:00
mpv/video
wm4 4e8ee522f4 vo_opengl_cb: fix video timing somewhat
Increase the default queue size. This helps with "missed" frames due to
the asynchronous nature of the API. All the other VOs are synchronous,
so if rendering and displaying takes a while, the common code in vo.c
will be blocked until it can continue. But with opengl-cb, vo.c might
immediately push the next ready frame, which causes the current frame
to be dropped _if_ it wasn't rendered yet.

One could fix this by making vo.c wait a while (until the API user calls
the render function, which pulls the frame). But setting the default
queue size to 2 seems much simpler: instead of dropping the frame, it
will be pushed to the API user once the next renderer call finishes.

(This is still a bit strange, and will hopefully be cleaned up when
video scheduling is redone, but for now this appears to deliver
relatively good results.)
2015-04-09 19:22:54 +02:00
..
decode vdpau: fix preemption handling 2015-03-31 14:48:34 +02:00
filter vf_format: add gamma override option 2015-04-04 15:48:38 +02:00
out vo_opengl_cb: fix video timing somewhat 2015-04-09 19:22:54 +02:00
csputils.c csputils: add some missing colorspaces 2015-04-04 15:47:14 +02:00
csputils.h csputils: add some missing colorspaces 2015-04-04 15:47:14 +02:00
fmt-conversion.c RPI support 2015-03-29 16:09:56 +02:00
fmt-conversion.h Take care of some libavutil deprecations, drop support for FFmpeg 1.0 2013-11-29 17:39:57 +01:00
hwdec.h RPI support 2015-03-29 16:09:56 +02:00
image_writer.c screenshots: select best image format the encoder supports 2015-04-06 20:34:50 +02:00
image_writer.h Revert "Revert recent vo_opengl related commits" 2015-02-28 20:23:47 +01:00
img_format.c vo_opengl: move minor helper to common code 2015-03-09 22:47:33 +01:00
img_format.h RPI support 2015-03-29 16:09:56 +02:00
img_fourcc.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
mp_image_pool.c mp_image_pool: allow passing pool=NULL in more places 2015-01-22 17:37:40 +01:00
mp_image_pool.h video: introduce failure path for image allocations 2014-06-17 22:43:43 +02:00
mp_image.c video: move colorspace overrides to vf_format, simplify 2015-03-31 00:09:03 +02:00
mp_image.h video: uninline memcpy_pic functions 2015-03-20 00:21:23 +01:00
sws_utils.c vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
sws_utils.h vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
vaapi.c command: add property returning detected hwdec API 2015-02-02 22:43:13 +01:00
vaapi.h video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
vdpau_functions.inc video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_mixer.c video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_mixer.h vdpau_mixer: allow overriding frame opts 2014-05-02 01:08:04 +02:00
vdpau.c vdpau: don't use a transparent image format for screenshots 2015-04-07 10:18:48 +02:00
vdpau.h video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00