summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-02 13:16:34 +0200
committerwm4 <wm4@nowhere>2015-09-02 13:17:23 +0200
commit418af6f0cb3a4716fcbf1edcabb771582283d350 (patch)
treefe818673757b5402d2b72502aa334952ffa6457d /video
parent79beb60c54be6944e766cdb91da4b7688ef0f61f (diff)
downloadmpv-418af6f0cb3a4716fcbf1edcabb771582283d350.tar.bz2
mpv-418af6f0cb3a4716fcbf1edcabb771582283d350.tar.xz
vo_opengl: enable pbo by default with opengl-hq
Can significantly help with very large video resolutions on nvidia drivers. It doesn't seem to have negative effects on Intel drivers either. (Although it could have on Intel drivers for older hardware.) For now, this is only for --vo=opengl-hq. Maybe --vo=opengl should use it too, but it's still meant to be the crappy, fail-safe default.
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index ec6b966374..15bedbd9c5 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -365,6 +365,7 @@ const struct gl_video_opts gl_video_opts_hq_def = {
.background = {0, 0, 0, 255},
.gamma = 1.0f,
.blend_subs = 0,
+ .pbo = 1,
};
static int validate_scaler_opt(struct mp_log *log, const m_option_t *opt,