Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGstPlaySupport Namespace Reference

Classes

struct  AudioInfo
struct  SubtitleInfo
struct  VideoInfo

Typedefs

using QUniqueGstPlayMediaInfoHandle
using QUniqueGstPlayAudioInfoHandle
using QUniqueGstPlayVideoInfoHandle
using QUniqueGstPlaySubtitleInfoHandle

Functions

VideoInfo parseGstPlayVideoInfo (const GstPlayVideoInfo *info)
AudioInfo parseGstPlayAudioInfo (const GstPlayAudioInfo *info)
SubtitleInfo parseGstPlaySubtitleInfo (const GstPlaySubtitleInfo *info)
int getStreamIndex (const GstPlayStreamInfo *info)
template<typename T, typename Enabler = std::enable_if_t<isStreamType<T>>>
int getStreamIndex (const T *info)

Variables

template<typename T>
constexpr bool isStreamType

Typedef Documentation

◆ QUniqueGstPlayAudioInfoHandle

◆ QUniqueGstPlayMediaInfoHandle

◆ QUniqueGstPlaySubtitleInfoHandle

◆ QUniqueGstPlayVideoInfoHandle

Function Documentation

◆ getStreamIndex() [1/2]

int QGstPlaySupport::getStreamIndex ( const GstPlayStreamInfo * info)

Definition at line 67 of file qgst_play.cpp.

◆ getStreamIndex() [2/2]

template<typename T, typename Enabler = std::enable_if_t<isStreamType<T>>>
int QGstPlaySupport::getStreamIndex ( const T * info)

Definition at line 77 of file qgst_play_p.h.

◆ parseGstPlayAudioInfo()

AudioInfo QGstPlaySupport::parseGstPlayAudioInfo ( const GstPlayAudioInfo * info)

◆ parseGstPlaySubtitleInfo()

SubtitleInfo QGstPlaySupport::parseGstPlaySubtitleInfo ( const GstPlaySubtitleInfo * info)

Definition at line 57 of file qgst_play.cpp.

◆ parseGstPlayVideoInfo()

VideoInfo QGstPlaySupport::parseGstPlayVideoInfo ( const GstPlayVideoInfo * info)

Variable Documentation

◆ isStreamType

template<typename T>
bool QGstPlaySupport::isStreamType
constexpr
Initial value:
= std::is_same_v<std::decay_t<T>, GstPlayVideoInfo>
|| std::is_same_v<std::decay_t<T>, GstPlayAudioInfo>
|| std::is_same_v<std::decay_t<T>, GstPlaySubtitleInfo>

Definition at line 70 of file qgst_play_p.h.