diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-02-18 12:01:30 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-03-05 12:32:53 +0000 |
commit | 0fd279fb8b317b2d8191ac811976b31bca295a30 (patch) | |
tree | d4c5ea134b4409058713876c4ae113349adcd4f3 /src/imports | |
parent | a1f9b691c7960eefed6118b79b66f096094d75b2 (diff) |
improve meta data support on Apple platforms
AVMetaDataItem is underdocumented (as most of the non trivial corners
of AVFoundation). The main issue is to retrieve data for meta data keys
that Apple does not consider 'common'. After tons of searching, I found
that the thing to use is the [item identifier] property. Those can then
be compared against a list of extended meta data identifiers to find a
mapping to our QMediaMetaData::Key enum.
The only place this was 'documented' was in some deprecated example code
from Apple that's not linked to by the regular documentation (search for
avmetadataeditor on Google).
Change-Id: Id70c24b1044012a4828201e7bb6f1bbba2ae2c36
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/multimedia/qmldir | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imports/multimedia/qmldir b/src/imports/multimedia/qmldir index e7dcc3dd6..d68049f63 100644 --- a/src/imports/multimedia/qmldir +++ b/src/imports/multimedia/qmldir @@ -4,4 +4,3 @@ classname QMultimediaDeclarativeModule typeinfo plugins.qmltypes typeinfo plugins.qmltypes Video 5.0 Video.qml - |