Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
AVFMetaData Class Reference

#include <avfmetadata_p.h>

+ Collaboration diagram for AVFMetaData:

Static Public Member Functions

static QMediaMetaData fromAsset (AVAsset *asset)
 
static QMediaMetaData fromAssetTrack (AVAssetTrack *asset)
 
static NSMutableArray< AVMetadataItem * > * toAVMetadataForFormat (QMediaMetaData metaData, AVFileType format)
 

Detailed Description

Definition at line 27 of file avfmetadata_p.h.

Member Function Documentation

◆ fromAsset()

QMediaMetaData AVFMetaData::fromAsset ( AVAsset * asset)
static

Definition at line 229 of file avfmetadata.mm.

References QMediaMetaData::Duration, fromAVMetadata(), QMediaMetaData::insert(), Q_FUNC_INFO, qDebug, and time.

Referenced by AVFMediaPlayer::processLoadStateChange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromAssetTrack()

QMediaMetaData AVFMetaData::fromAssetTrack ( AVAssetTrack * asset)
static

Definition at line 244 of file avfmetadata.mm.

References QLocale::codeToLanguage(), fromAVMetadata(), QMediaMetaData::insert(), QVariant::isNull(), QMediaMetaData::Language, QtVideo::None, QMediaMetaData::Orientation, Q_UNUSED, QMediaMetaData::value(), and AVFMediaPlayer::videoOrientationForAssetTrack().

Referenced by AVFMediaPlayer::updateTracks().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toAVMetadataForFormat()

NSMutableArray< AVMetadataItem * > * AVFMetaData::toAVMetadataForFormat ( QMediaMetaData metaData,
AVFileType format )
static

Definition at line 357 of file avfmetadata.mm.

References i, item, QMediaMetaData::keys(), setAVMetadataItemForKey(), and QMediaMetaData::value().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: