summaryrefslogtreecommitdiffstats
path: root/common/encode.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/encode.h')
-rw-r--r--common/encode.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/encode.h b/common/encode.h
index fec14045ed..a4c7d821d9 100644
--- a/common/encode.h
+++ b/common/encode.h
@@ -3,16 +3,18 @@
#include <stdbool.h>
-struct MPOpts;
+struct mpv_global;
+struct mp_log;
struct encode_lavc_context;
struct encode_output_conf;
// interface for mplayer.c
-struct encode_lavc_context *encode_lavc_init(struct encode_output_conf *options);
+struct encode_lavc_context *encode_lavc_init(struct encode_output_conf *options,
+ struct mpv_global *global);
void encode_lavc_finish(struct encode_lavc_context *ctx);
void encode_lavc_free(struct encode_lavc_context *ctx);
void encode_lavc_discontinuity(struct encode_lavc_context *ctx);
-bool encode_lavc_showhelp(struct MPOpts *opts);
+bool encode_lavc_showhelp(struct mp_log *log, struct encode_output_conf *options);
int encode_lavc_getstatus(struct encode_lavc_context *ctx, char *buf, int bufsize, float relative_position);
void encode_lavc_expect_stream(struct encode_lavc_context *ctx, int mt);
void encode_lavc_set_video_fps(struct encode_lavc_context *ctx, float fps);