summaryrefslogtreecommitdiffstats
path: root/video/vaapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/vaapi.c')
-rw-r--r--video/vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/vaapi.c b/video/vaapi.c
index d0a2852a47..bee24c1e72 100644
--- a/video/vaapi.c
+++ b/video/vaapi.c
@@ -38,7 +38,7 @@ struct vaapi_opts {
#define OPT_BASE_STRUCT struct vaapi_opts
const struct m_sub_options vaapi_conf = {
.opts = (const struct m_option[]) {
- OPT_STRING("device", path, 0),
+ {"device", OPT_STRING(path)},
{0},
},
.defaults = &(const struct vaapi_opts) {