4#ifndef QGSTREAMERVIDEOSINK_H
5#define QGSTREAMERVIDEOSINK_H
18#include <QtMultimedia/qvideosink.h>
19#include <QtMultimedia/private/qplatformvideosink_p.h>
21#include <common/qgstvideorenderersink_p.h>
22#include <common/qgstpipeline_p.h>
34 void setRhi(QRhi *rhi)
override;
54 void unrefGstContexts();
55 void updateGstContexts();
63 QRhi *m_rhi =
nullptr;
64 bool m_isActive =
true;
65 bool m_sinkIsAsync =
true;
67 Qt::HANDLE m_eglDisplay =
nullptr;
68 QFunctionPointer m_eglImageTargetTexture2D =
nullptr;
70 QGstContextHandle m_gstGlLocalContext;
71 QGstContextHandle m_gstGlDisplayContext;
QGstStructureView at(int index) const
bool syncStateWithParent()
static QGstElement createFromPipelineDescription(const char *)
bool link(const QGstPad &sink) const
QGstCaps queryCaps() const
QGstElement gstElement() const
QGstreamerVideoSink * gstreamerVideoSink() const
QGstElement gstElement() const
void setNativeSize(QSize)
~QGstreamerVideoOutput() override
void updateSubtitle(QString) override
void setVideoSink(QVideoSink *sink)
void setRotation(QtVideo::Rotation)
QGstElement gstSubtitleElement() const
~QGstreamerVideoSink() override
GstContext * gstGlLocalContext() const
GstContext * gstGlDisplayContext() const
void setRhi(QRhi *rhi) override
QFunctionPointer eglImageTargetTexture2D() const
Qt::HANDLE eglDisplay() const
std::optional< QGstreamerMediaPlayer::TrackType > toTrackType(const QGstCaps &caps)
Q_STATIC_LOGGING_CATEGORY(lcAccessibilityCore, "qt.accessibility.core")