summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-06 22:54:03 +0100
committerwm4 <wm4@nowhere>2013-02-06 23:04:18 +0100
commitae070a6f1eff9f38dcd3ec785dd1f251e3761472 (patch)
treed498b49781dcbe656b324f813ba83b9b90f2495b /audio/out/ao.h
parent4628ea3c46fe64cc9989e5a3e6f9b01f72563c36 (diff)
downloadmpv-ae070a6f1eff9f38dcd3ec785dd1f251e3761472.tar.bz2
mpv-ae070a6f1eff9f38dcd3ec785dd1f251e3761472.tar.xz
audio/out, video/out: hide encoding VO/AO
mpv -ao help and mpv -vo help shouldn't show the encoding outputs (named "lavc" on both cases). Also make it impossible to select these manually when not encoding.
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r--audio/out/ao.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h
index 2fb8d9ba2c..6b79508943 100644
--- a/audio/out/ao.h
+++ b/audio/out/ao.h
@@ -75,6 +75,7 @@ struct ao;
struct ao_driver {
bool is_new;
+ bool encode;
const struct ao_info *info;
const struct ao_old_functions *old_functions;
int (*control)(struct ao *ao, enum aocontrol cmd, void *arg);