diff options
author | wm4 <wm4@nowhere> | 2015-03-10 17:17:15 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-03-11 12:49:40 +0900 |
commit | 1c4bdfaf9c19ba096422e23b74c76a2f4baf34d3 (patch) | |
tree | 8a2407c51114e056a8c064fbd8c2b399b7d81e54 | |
parent | 76809e5ef7134a1eb09d4731c4864edeae4aa3ac (diff) | |
download | mpv-1c4bdfaf9c19ba096422e23b74c76a2f4baf34d3.tar.bz2 mpv-1c4bdfaf9c19ba096422e23b74c76a2f4baf34d3.tar.xz |
vo: hide opengl-cb in --vo=help
Avoids stupid questions.
(cherry picked from commit c7790b4526aaef08cd76f135dc2ea2dd62fab045)
-rw-r--r-- | video/out/vo.c | 2 |
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; |