mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
vo: hide opengl-cb in --vo=help
Avoids stupid questions.
(cherry picked from commit c7790b4526)
This commit is contained in:
committed by
Diogo Franco (Kovensky)
parent
76809e5ef7
commit
1c4bdfaf9c
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user