vo: hide opengl-cb in --vo=help

Avoids stupid questions.

(cherry picked from commit c7790b4526)
This commit is contained in:
wm4
2015-03-11 12:49:40 +09:00
committed by Diogo Franco (Kovensky)
parent 76809e5ef7
commit 1c4bdfaf9c
+1 -1
View File
@@ -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;