mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
New option --no-ometadata to opt out of including metadata when encoding.
This re-allows the previous behaviour of being able to reencode with metadata removed, which is useful when encoding "inconsistently" tagged data for a device/player that shows file names when tags are not present.
This commit is contained in:
@@ -247,7 +247,8 @@ struct encode_lavc_context *encode_lavc_init(struct encode_output_conf *options,
|
||||
void encode_lavc_set_metadata(struct encode_lavc_context *ctx,
|
||||
struct mp_tags *metadata)
|
||||
{
|
||||
ctx->metadata = metadata;
|
||||
if (ctx->options->metadata)
|
||||
ctx->metadata = metadata;
|
||||
}
|
||||
|
||||
int encode_lavc_start(struct encode_lavc_context *ctx)
|
||||
|
||||
Reference in New Issue
Block a user