m_option: add UPDATE_VO flag

This will allow reiniting the VO when more options are changed without
hardcoding them in options.c

Also reinit the VO when changing --gpu-debug and --gpu-sw.
This commit is contained in:
Guido Cella
2024-07-04 09:41:41 +02:00
committed by Dudemanguy
parent d384a6b793
commit a5937ac7e3
4 changed files with 9 additions and 10 deletions

View File

@@ -216,6 +216,7 @@ const struct m_sub_options ra_ctx_conf = {
{0}
},
.size = sizeof(struct ra_ctx_opts),
.change_flags = UPDATE_VO,
};
static struct ra_ctx *create_in_contexts(struct vo *vo, const char *name,