diff options
Diffstat (limited to 'common/encode.h')
-rw-r--r-- | common/encode.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/common/encode.h b/common/encode.h index 62a8b094e9..33d778cd67 100644 --- a/common/encode.h +++ b/common/encode.h @@ -38,12 +38,8 @@ struct encode_opts { char **vopts; char *acodec; char **aopts; - float voffset; - float aoffset; - int rawts; - int video_first; - int audio_first; - int copy_metadata; + bool rawts; + bool copy_metadata; char **set_metadata; char **remove_metadata; }; @@ -54,13 +50,12 @@ bool encode_lavc_free(struct encode_lavc_context *ctx); void encode_lavc_discontinuity(struct encode_lavc_context *ctx); bool encode_lavc_showhelp(struct mp_log *log, struct encode_opts *options); int encode_lavc_getstatus(struct encode_lavc_context *ctx, char *buf, int bufsize, float relative_position); +bool encode_lavc_stream_type_ok(struct encode_lavc_context *ctx, + enum stream_type type); void encode_lavc_expect_stream(struct encode_lavc_context *ctx, enum stream_type type); -void encode_lavc_stream_eof(struct encode_lavc_context *ctx, - enum stream_type type); void encode_lavc_set_metadata(struct encode_lavc_context *ctx, struct mp_tags *metadata); -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 #endif |