From ae070a6f1eff9f38dcd3ec785dd1f251e3761472 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 6 Feb 2013 22:54:03 +0100 Subject: 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. --- video/out/vo_lavc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/vo_lavc.c') diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c index 2aced9351a..2a07a67b0b 100644 --- a/video/out/vo_lavc.c +++ b/video/out/vo_lavc.c @@ -514,6 +514,7 @@ static int control(struct vo *vo, uint32_t request, void *data) const struct vo_driver video_out_lavc = { .buffer_frames = false, + .encode = true, .info = &(const struct vo_info_s){ "video encoding using libavcodec", "lavc", -- cgit v1.2.3