summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-10 17:17:15 +0100
committerwm4 <wm4@nowhere>2015-03-10 17:17:15 +0100
commitc7790b4526aaef08cd76f135dc2ea2dd62fab045 (patch)
tree28038c15b43cf02e0056d8583716f34a968bff4f /video
parenteb482140d9bd441d6ee519ffdace35058704ff5f (diff)
downloadmpv-c7790b4526aaef08cd76f135dc2ea2dd62fab045.tar.bz2
mpv-c7790b4526aaef08cd76f135dc2ea2dd62fab045.tar.xz
vo: hide opengl-cb in --vo=help
Avoids stupid questions.
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index b85b319c3e..fc2f539a27 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -166,7 +166,7 @@ static bool get_desc(struct m_obj_desc *dst, int index)
.priv_size = vo->priv_size,
.priv_defaults = vo->priv_defaults,
.options = vo->options,
- .hidden = vo->encode,
+ .hidden = vo->encode || !strcmp(vo->name, "opengl-cb"),
.p = vo,
};
return true;