summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2021-08-09 16:39:08 -0500
committerDudemanguy <random342@airmail.cc>2021-08-09 16:39:08 -0500
commite9e1c410607d527a649d60dc664f3c7cfae693d4 (patch)
treec845ffecca1aec8b222951aaeec0a3eb2b11289d
parent21ab1df01448a2d864b28ad0de7ce1ce13332114 (diff)
downloadmpv-e9e1c410607d527a649d60dc664f3c7cfae693d4.tar.bz2
mpv-e9e1c410607d527a649d60dc664f3c7cfae693d4.tar.xz
vo_wlshm: remove empty options struct
This doesn't do anything and isn't needed as there are no wlshm-specific options.
-rw-r--r--video/out/vo_wlshm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vo_wlshm.c b/video/out/vo_wlshm.c
index 5e7ae94a1d..4744e505f3 100644
--- a/video/out/vo_wlshm.c
+++ b/video/out/vo_wlshm.c
@@ -304,11 +304,6 @@ static void uninit(struct vo *vo)
vo_wayland_uninit(vo);
}
-#define OPT_BASE_STRUCT struct priv
-static const m_option_t options[] = {
- {0}
-};
-
const struct vo_driver video_out_wlshm = {
.description = "Wayland SHM video output (software scaling)",
.name = "wlshm",
@@ -323,5 +318,4 @@ const struct vo_driver video_out_wlshm = {
.wait_events = vo_wayland_wait_events,
.uninit = uninit,
.priv_size = sizeof(struct priv),
- .options = options,
};