summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-02-05 20:13:33 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-02-05 20:20:31 +0200
commite187de88a1ce7587827824ef9c16707dfb15718b (patch)
treef2511ec02ee11a528680d4ebc06365a0e48a5158 /libvo/video_out.h
parent9118a5dd02c365e51a9f49dd34469dd7c26b89c7 (diff)
downloadmpv-e187de88a1ce7587827824ef9c16707dfb15718b.tar.bz2
mpv-e187de88a1ce7587827824ef9c16707dfb15718b.tar.xz
vo_vdpau: make queuing future frame flips adjustable
Add -vo vdpau suboptions "queuetime_windowed" and "queuetime_fs" to specify the maximum number of milliseconds how far into the future a frame flip can be queued using the VDPAU presentation queue functionality. The intended main use of these options is to allow disabling use of the queuing feature on systems where using it causes choppiness in other graphics behavior (this is an NVIDIA driver issue; the video itself isn't affected).
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 9331e80faf..697cc4e0d5 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -239,6 +239,8 @@ struct vo {
double next_pts; // pts value of the next frame if any
double next_pts2; // optional pts of frame after that
+ double flip_queue_offset; // queue flip events at most this much in advance
+
const struct vo_driver *driver;
void *priv;
struct MPOpts *opts;