From f5b8b6ac126d8cef3860db16d3db8e72507a2258 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 14 Sep 2012 17:51:26 +0200 Subject: encode: video encoding now supported using mencoder-like options --- libvo/video_out.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libvo/video_out.h') diff --git a/libvo/video_out.h b/libvo/video_out.h index dd2a1f79bd..2cd314f281 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -249,6 +249,7 @@ struct vo { struct vo_x11_state *x11; struct vo_w32_state *w32; struct mp_fifo *key_fifo; + struct encode_lavc_context *encode_lavc_ctx; struct input_ctx *input_ctx; int event_fd; // check_events() should be called when this has input int registered_fd; // set to event_fd when registered in input system @@ -278,7 +279,8 @@ struct vo { struct vo *init_best_video_out(struct MPOpts *opts, struct mp_fifo *key_fifo, - struct input_ctx *input_ctx); + struct input_ctx *input_ctx, + struct encode_lavc_context *encode_lavc_ctx); int vo_config(struct vo *vo, uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, uint32_t format); -- cgit v1.2.3