diff options
author | Marton Balint <cus@passwd.hu> | 2021-02-20 00:06:47 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2021-03-04 20:23:51 +0100 |
commit | 088f35f0364b3a1881f40c4ea097763c46b7d886 (patch) | |
tree | be4cacd1e45a3dbdd38c5ff83577396a55132f20 /libavformat/mxfdec.c | |
parent | 7cb40b270ca6f0a0c7f211ccbd3c0331023e920b (diff) | |
download | ffmpeg-088f35f0364b3a1881f40c4ea097763c46b7d886.tar.gz |
avformat/mxfdec: add support for getting product version number metadata
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 3ce83dde54..bb00838a3f 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -2788,6 +2788,9 @@ static int mxf_read_identification_metadata(void *arg, AVIOContext *pb, int tag, case 0x3C02: SET_STR_METADATA(pb, "product_name", str); break; + case 0x3C03: + SET_VERSION_METADATA(pb, "product_version_num", major, minor, tertiary, patch, release, str); + break; case 0x3C04: SET_STR_METADATA(pb, "product_version", str); break; |