From 01e8a9c9e3a28f2beb41a5ee6d902797abdb74f0 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Sun, 30 Mar 2014 19:05:59 +0200 Subject: encode_lavc: copy metadata to output file Closes #684 Signed-off-by: wm4 Includes some minor cosmetic changes additional to the original PR. --- common/encode.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/encode.h') 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 +#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 -- cgit v1.2.3