Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QFFmpegMetaData Class Reference

#include <qffmpegmediametadata_p.h>

+ Inheritance diagram for QFFmpegMetaData:
+ Collaboration diagram for QFFmpegMetaData:

Static Public Member Functions

static void addEntry (QMediaMetaData &metaData, AVDictionaryEntry *entry)
 
static QMediaMetaData fromAVMetaData (const AVDictionary *tags)
 
static QByteArray value (const QMediaMetaData &metaData, QMediaMetaData::Key key)
 
static AVDictionary * toAVMetaData (const QMediaMetaData &metaData)
 

Additional Inherited Members

Detailed Description

Definition at line 23 of file qffmpegmediametadata_p.h.

Member Function Documentation

◆ addEntry()

void QFFmpegMetaData::addEntry ( QMediaMetaData metaData,
AVDictionaryEntry *  entry 
)
static

Definition at line 72 of file qffmpegmediametadata.cpp.

References QLocale::codeToLanguage(), QListSpecialMethodsBase< T >::contains(), date, QMediaMetaData::Date, QUrl::fromEncoded(), QString::fromUtf8(), QVariant::fromValue(), QMetaType::id(), QMap< Key, T >::insert(), QLocale::ISO639Part2, Qt::ISODate, QMap< Key, T >::keys(), QMediaMetaData::keyType(), map, qCDebug, qstrcmp(), QString::split(), tag, tagToKey(), QByteArray::toDouble(), QByteArray::toInt(), and QByteArray::toLongLong().

Referenced by fromAVMetaData().

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

◆ fromAVMetaData()

QMediaMetaData QFFmpegMetaData::fromAVMetaData ( const AVDictionary *  tags)
static

Definition at line 124 of file qffmpegmediametadata.cpp.

References addEntry().

Referenced by Q_LOGGING_CATEGORY().

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

◆ toAVMetaData()

AVDictionary * QFFmpegMetaData::toAVMetaData ( const QMediaMetaData metaData)
static

Definition at line 161 of file qffmpegmediametadata.cpp.

References QMediaMetaData::keys(), and keyToTag().

Referenced by Q_LOGGING_CATEGORY().

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

◆ value()

QByteArray QFFmpegMetaData::value ( const QMediaMetaData metaData,
QMediaMetaData::Key  key 
)
static

Definition at line 134 of file qffmpegmediametadata.cpp.

References QMetaType::id(), QLocale::ISO639Part2, Qt::ISODate, QMediaMetaData::keyType(), QLocale::languageToCode(), QByteArray::number(), QString::toUtf8(), and QMediaMetaData::value().

+ Here is the call graph for this function:

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