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

#include <qgstreamermetadata_p.h>

+ Inheritance diagram for QGstreamerMetaData:
+ Collaboration diagram for QGstreamerMetaData:

Public Member Functions

GstTagList * toGstTagList () const
 
void setMetaData (GstBin *bin) const
 
void setMetaData (GstElement *element) const
 

Static Public Member Functions

static QGstreamerMetaData fromGstTagList (const GstTagList *tags)
 

Additional Inherited Members

Detailed Description

Definition at line 25 of file qgstreamermetadata_p.h.

Member Function Documentation

◆ fromGstTagList()

QGstreamerMetaData QGstreamerMetaData::fromGstTagList ( const GstTagList *  tags)
static

Definition at line 189 of file qgstreamermetadata.cpp.

References addTagToMap().

Referenced by QGstreamerMediaPlayer::processBusMessage(), and QGstreamerMediaPlayer::trackMetaData().

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

◆ setMetaData() [1/2]

void QGstreamerMetaData::setMetaData ( GstBin *  bin) const

Definition at line 261 of file qgstreamermetadata.cpp.

References elements, item, and setMetaData().

Referenced by QGstreamerImageCapture::probeBuffer(), QGstreamerMediaEncoder::record(), and setMetaData().

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

◆ setMetaData() [2/2]

void QGstreamerMetaData::setMetaData ( GstElement *  element) const

Definition at line 197 of file qgstreamermetadata.cpp.

References QSet< T >::cbegin(), QByteArray::constData(), date, QDate::day(), QLocale::ISO639Part2, it, keyToTag(), QLocale::languageToCode(), QDate::month(), QVariant::toDateTime(), QVariant::toDouble(), QVariant::toInt(), QVariant::toString(), QString::toUtf8(), QVariant::typeId(), QVariant::value(), and QDate::year().

+ Here is the call graph for this function:

◆ toGstTagList()

GstTagList * QGstreamerMetaData::toGstTagList ( ) const

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