1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-23 04:24:35 +02:00

avformat/mxfdec: add support for getting product version number metadata

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint 2021-02-20 00:06:47 +01:00
parent 7cb40b270c
commit 088f35f036
3 changed files with 5 additions and 0 deletions

View File

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

View File

@ -17,6 +17,7 @@ TAG:uid=adab4424-2f25-4dc7-92ff-29bd000c0000
TAG:generation_uid=adab4424-2f25-4dc7-92ff-29bd000c0001
TAG:company_name=FATE-company
TAG:product_name=FATE-test
TAG:product_version_num=0.0.0.0.0
TAG:product_version=3.14159
TAG:application_platform=Lavf
TAG:product_uid=adab4424-2f25-4dc7-92ff-29bd000c0002

View File

@ -175,6 +175,7 @@ TAG:toolkit_version_num=1.1.0.0.0
TAG:modification_date=2016-09-18T19:25:25.000000Z
TAG:product_uid=acfbf03a-4f42-a231-d0b7-c06ecd3d4ad7
TAG:product_version=Unknown version
TAG:product_version_num=8.6.0.0.1
TAG:product_name=Avid Media Composer 8.6.3.43955
TAG:company_name=Avid Technology, Inc.
TAG:material_package_umid=0x060A2B340101010101010F001300000057DEEA1570665313060E2B347F7F2A80