footage: fixed appearance of some metadata, particularly audio metadata

This commit is contained in:
itsmattkc
2020-02-29 17:19:47 +11:00
parent b134ac877f
commit 139c14f941
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ bool FFmpegDecoder::Probe(Footage *f, const QAtomicInt* cancelled)
if (error_code == 0) {
// Retrieve metadata about the media
av_dump_format(fmt_ctx_, 0, filename, 0);
avformat_find_stream_info(fmt_ctx_, nullptr);
// Dump it into the Footage object
for (unsigned int i=0;i<fmt_ctx_->nb_streams;i++) {