4#ifndef QGSTREAMERMETADATA_H
5#define QGSTREAMERMETADATA_H
18#include <qmediametadata.h>
24QMediaMetaData taglistToMetaData(
const QGstTagListHandle &);
25void extendMetaDataFromTagList(QMediaMetaData &,
const QGstTagListHandle &);
28void extendMetaDataFromCaps(QMediaMetaData &,
const QGstCaps &);
30void applyMetaDataToTagSetter(
const QMediaMetaData &metadata,
const QGstBin &);
31void applyMetaDataToTagSetter(
const QMediaMetaData &metadata,
const QGstElement &);
40 return std::tie(rotation, flip) == std::tie(rhs.rotation, rhs.flip);
q23::expected< QGstDiscovererInfo, QUniqueGErrorHandle > discover(const QString &uri)
q23::expected< QGstDiscovererInfo, QUniqueGErrorHandle > discover(QIODevice *)
GListRangeAdaptorImpl< ListType, true > GListConstRangeAdaptor
GListRangeAdaptorImpl< ListType, false > GListRangeAdaptor
QMediaMetaData toStreamMetadata(const QGstDiscovererAudioInfo &info)
static constexpr std::chrono::nanoseconds discovererTimeout
QMediaMetaData toStreamMetadata(const QGstDiscovererSubtitleInfo &info)
QMediaMetaData toStreamMetadata(const QGstDiscovererVideoInfo &info)
QMediaMetaData toContainerMetadata(const QGstDiscovererInfo &info)
static void updateMetadata(QMediaMetaData &metadata, QMediaMetaData::Key key, ValueType value)
void addMissingKeysFromTaglist(QMediaMetaData &metadata, const QGstTagListHandle &tagList)
GListIterator(GListType element=nullptr)
bool operator!=(const GListIterator &r) const noexcept
std::ptrdiff_t difference_type
GListIterator & operator++() noexcept
std::input_iterator_tag iterator_category
const ListType & operator*() const noexcept
const ListType * operator->() const noexcept
GListIterator operator++(int n) noexcept
bool operator==(const GListIterator &r) const noexcept
GListRangeAdaptorImpl(GListType list)
QLocale::Language language
std::vector< QGstDiscovererAudioInfo > audioStreams
std::vector< QGstDiscovererContainerInfo > containerStreams
std::vector< QGstDiscovererVideoInfo > videoStreams
std::optional< QGstDiscovererContainerInfo > containerInfo
std::vector< QGstDiscovererSubtitleInfo > subtitleStreams
std::optional< std::chrono::nanoseconds > duration
QLocale::Language language
Fraction pixelAspectRatio
QtVideo::Rotation rotation
bool operator==(const RotationResult &rhs) const