diff options
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index f3af26273d..b2bf8765a8 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -285,7 +285,6 @@ static void replace_legacy_vo_name(bstr *name) } struct vo *init_best_video_out(struct mp_vo_opts *opts, - struct mp_fifo *key_fifo, struct input_ctx *input_ctx, struct encode_lavc_context *encode_lavc_ctx) { @@ -294,7 +293,7 @@ struct vo *init_best_video_out(struct mp_vo_opts *opts, struct vo *vo = talloc_ptrtype(NULL, vo); struct vo initial_values = { .opts = opts, - .key_fifo = key_fifo, + .key_fifo = (struct mp_fifo *)input_ctx, .encode_lavc_ctx = encode_lavc_ctx, .input_ctx = input_ctx, .event_fd = -1, |