This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit c434d0a160464bc2fff09b887327b572f2345514 Author: Marton Balint <[email protected]> AuthorDate: Sun Jun 14 01:34:54 2026 +0200 Commit: Marton Balint <[email protected]> CommitDate: Wed Jun 24 23:31:53 2026 +0200 avformat/asfdec_f: set creation time as metadata Signed-off-by: Marton Balint <[email protected]> --- libavformat/asfdec_f.c | 1 + tests/ref/fate/generic-tags-remux-asf | 1 + tests/ref/fate/id3v2-wma-comm | 1 + 3 files changed, 3 insertions(+) diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c index 1e9ecfe91f..2948461ab1 100644 --- a/libavformat/asfdec_f.c +++ b/libavformat/asfdec_f.c @@ -295,6 +295,7 @@ static int asf_read_file_properties(AVFormatContext *s) asf->hdr.max_bitrate = avio_rl32(pb); s->packet_size = asf->hdr.max_pktsize; + ff_dict_set_timestamp(&s->metadata, "creation_time", ff_asf_filetime_to_avtime(asf->hdr.create_time)); return 0; } diff --git a/tests/ref/fate/generic-tags-remux-asf b/tests/ref/fate/generic-tags-remux-asf index f25eadc797..54420ed21a 100644 --- a/tests/ref/fate/generic-tags-remux-asf +++ b/tests/ref/fate/generic-tags-remux-asf @@ -29,6 +29,7 @@ b80387bd80ec592cb99df5de8ef60732 *tests/data/fate/generic-tags-remux-asf.asf 0, 928, 928, 46, 743, 0xdf740eee 0, 975, 975, 46, 743, 0x41c84afe [FORMAT] +TAG:creation_time=1970-01-01T00:00:00.000000Z TAG:publisher=M83 Recording Inc TAG:album_artist=M83 TAG:composer=Anthony Gonzalez diff --git a/tests/ref/fate/id3v2-wma-comm b/tests/ref/fate/id3v2-wma-comm index 5a615d6d93..58130ed733 100644 --- a/tests/ref/fate/id3v2-wma-comm +++ b/tests/ref/fate/id3v2-wma-comm @@ -21,4 +21,5 @@ TAG:composer=Jacques Higelin TAG:WM/EncodingTime=1120324736 TAG:album_artist=Jacques Higelin TAG:WM/Provider=User Feedback +TAG:creation_time=2003-03-23T11:52:22.967000Z [/FORMAT] _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
