avformat/argo_asf: pass name through as metadata

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
This commit is contained in:
Zane van Iperen 2021-10-11 21:21:35 +10:00
parent 20fa838da5
commit 9a2b9aafba
No known key found for this signature in database
GPG Key ID: 68616B2D8AC4DCC5
2 changed files with 3 additions and 1 deletions

View File

@ -209,6 +209,8 @@ static int argo_asf_read_header(AVFormatContext *s)
ff_argo_asf_parse_chunk_header(&asf->ckhdr, buf);
av_dict_set(&s->metadata, "title", asf->fhdr.name, 0);
return ff_argo_asf_fill_stream(s, st, &asf->fhdr, &asf->ckhdr);
}

View File

@ -1,4 +1,4 @@
14b2507d14e95c20bb7ae49b4fcbcbf1 *tests/data/fate/acodec-adpcm-argo.argo_asf
281190 tests/data/fate/acodec-adpcm-argo.argo_asf
cc5e5c695adeaebaa2b1f0df5ebd59ee *tests/data/fate/acodec-adpcm-argo.out.wav
446f28460bdb7ff4361cf7d82ac22c3e *tests/data/fate/acodec-adpcm-argo.out.wav
stddev: 1542.05 PSNR: 32.57 MAXDIFF:59667 bytes: 1058400/ 1058432