summaryrefslogtreecommitdiffstats
path: root/video/out/vo_gpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_gpu.c')
-rw-r--r--video/out/vo_gpu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c
index 5b21646aa2..f765e79d34 100644
--- a/video/out/vo_gpu.c
+++ b/video/out/vo_gpu.c
@@ -311,10 +311,10 @@ err_out:
#define OPT_BASE_STRUCT struct gpu_priv
static const m_option_t options[] = {
- OPT_STRING_VALIDATE("gpu-context", context_name, 0, ra_ctx_validate_context),
- OPT_STRING_VALIDATE("gpu-api", context_type, 0, ra_ctx_validate_api),
- OPT_FLAG("gpu-debug", opts.debug, 0),
- OPT_FLAG("gpu-sw", opts.allow_sw, 0),
+ {"gpu-context", OPT_STRING_VALIDATE(context_name, ra_ctx_validate_context)},
+ {"gpu-api", OPT_STRING_VALIDATE(context_type, ra_ctx_validate_api)},
+ {"gpu-debug", OPT_FLAG(opts.debug)},
+ {"gpu-sw", OPT_FLAG(opts.allow_sw)},
{0}
};