mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
Call av_metadata_conv() to convert metadata to ffmpeg's generic format
This is actually needed for everything to work properly, but it only really started breaking with newer versions of ffmpeg where more demuxers have been completely ported over to the metadata API.
This commit is contained in:
parent
04e8f5cfd6
commit
6677b3435d
@ -452,6 +452,8 @@ scan_metadata_ffmpeg(char *file, struct media_file_info *mfi)
|
||||
goto skip_extract;
|
||||
}
|
||||
|
||||
av_metadata_conv(ctx, NULL, ctx->iformat->metadata_conv);
|
||||
|
||||
if (ctx->metadata)
|
||||
{
|
||||
ret = extract_metadata(mfi, ctx->metadata, extra_md_map);
|
||||
|
Loading…
Reference in New Issue
Block a user