diff options
author | wm4 <wm4@nowhere> | 2013-02-06 22:54:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-06 23:04:18 +0100 |
commit | ae070a6f1eff9f38dcd3ec785dd1f251e3761472 (patch) | |
tree | d498b49781dcbe656b324f813ba83b9b90f2495b /video/out/vo.h | |
parent | 4628ea3c46fe64cc9989e5a3e6f9b01f72563c36 (diff) | |
download | mpv-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 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 73eb19c8d7..a41b5466fb 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -146,6 +146,9 @@ struct vo_driver { // of pts values itself bool buffer_frames; + // Encoding functionality, which can be invoked via --o only. + bool encode; + const vo_info_t *info; /* * Preinitializes driver (real INITIALIZATION) |