summaryrefslogtreecommitdiffstats
path: root/common/encode.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/encode.h')
-rw-r--r--common/encode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/encode.h b/common/encode.h
index 7d6cacd86a..530805c76f 100644
--- a/common/encode.h
+++ b/common/encode.h
@@ -3,6 +3,8 @@
#include <stdbool.h>
+#include "demux/demux.h"
+
struct mpv_global;
struct mp_log;
struct encode_lavc_context;
@@ -17,6 +19,8 @@ void encode_lavc_discontinuity(struct encode_lavc_context *ctx);
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_metadata(struct encode_lavc_context *ctx,
+ struct mp_tags *metadata);
void encode_lavc_set_video_fps(struct encode_lavc_context *ctx, float fps);
void encode_lavc_set_audio_pts(struct encode_lavc_context *ctx, double pts);
bool encode_lavc_didfail(struct encode_lavc_context *ctx); // check if encoding failed