4#ifndef QGSTREAMERVIDEOSINK_H
5#define QGSTREAMERVIDEOSINK_H
18#include <private/qtmultimediaglobal_p.h>
19#include <private/qplatformvideosink_p.h>
23#include <QtGui/qcolor.h>
24#include <QtMultimedia/qvideosink.h>
26#if QT_CONFIG(gstreamer_gl)
31class QGstreamerVideoRenderer;
61 void updateSinkElement();
63 void unrefGstContexts();
64 void updateGstContexts();
75 QRhi *m_rhi =
nullptr;
78 QFunctionPointer m_eglImageTargetTexture2D =
nullptr;
QGstreamerVideoSink(QVideoSink *parent=nullptr)
bool inStoppedState() const
GstContext * gstGlLocalContext() const
void setPipeline(QGstPipeline pipeline)
GstContext * gstGlDisplayContext() const
void aboutToBeDestroyed()
void setRhi(QRhi *rhi) override
QGstElement subtitleSink() const
QFunctionPointer eglImageTargetTexture2D() const
Qt::HANDLE eglDisplay() const
QObject * parent() const
Returns a pointer to the parent object.
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
The QVideoSink class represents a generic sink for video data.
Combined button and popup list for selecting options.
QGstImpl::QGstMiniObjectHandleHelper< GstContext >::UniqueHandle QGstContextHandle