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:
Julien BLACHE 2010-03-23 18:39:50 +01:00
parent 04e8f5cfd6
commit 6677b3435d

View File

@ -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);