summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-07 14:53:58 +0200
committerwm4 <wm4@nowhere>2015-07-07 15:05:32 +0200
commit92727e7332cd8c9237552675fd8e8dba9b1a4127 (patch)
treeca66eb301794513652a994eeb3bd0eb56cb4b1c0 /options/options.h
parent1d29177c5c150e700cace0c875185c6fa5e92d3c (diff)
downloadmpv-92727e7332cd8c9237552675fd8e8dba9b1a4127.tar.bz2
mpv-92727e7332cd8c9237552675fd8e8dba9b1a4127.tar.xz
vo_opengl_cb, vo_opengl: add option for preloading hwdec context
See manpage additions. This is mainly useful for vo_opengl_cb, but can also be applied to vo_opengl. On a side note, gl_hwdec_load_api() should stop using a name string, and instead always use the IDs. This should be cleaned up another time.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index b5e0e1f624..9d211390e0 100644
--- a/options/options.h
+++ b/options/options.h
@@ -42,7 +42,10 @@ typedef struct mp_vo_opts {
float monitor_pixel_aspect;
int force_window_position;
+ // vo_wayland, vo_drm
struct sws_opts *sws_opts;
+ // vo_opengl, vo_opengl_cb
+ int hwdec_preload_api;
} mp_vo_opts;
struct mp_cache_opts {