15#include <private/qplatformmediaintegration_p.h>
16#include <private/qplatformvideosink_p.h>
29 qWarning() <<
"Failed to create QVideoSink" << maybeVideoSink.error();
42 if (
auto *
player = qobject_cast<QMediaPlayer *>(old))
44 else if (
auto *capture = qobject_cast<QMediaCaptureSession *>(old))
45 capture->setVideoSink(
nullptr);
86 qRegisterMetaType<QVideoFrame>();
192#include "moc_qvideosink.cpp"
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVideoFrame class represents a frame of video data.
QVideoSinkPrivate(QVideoSink *q)
QPlatformVideoSink * videoSink
The QVideoSink class represents a generic sink for video data.
QSize videoSize
Returns the size of the video currently being played back.
void setVideoFrame(const QVideoFrame &frame)
Sets the current video frame.
QPlatformVideoSink * platformVideoSink() const
QVideoFrame videoFrame() const
Returns the current video frame.
QVideoSink(QObject *parent=nullptr)
Constructs a new QVideoSink object with parent.
void setSubtitleText(const QString &subtitle)
Sets the current subtitle text.
QString subtitleText
Returns the current subtitle text.
QRhi * rhi() const
Returns the QRhi instance being used to create texture data in the video frames.
~QVideoSink()
Destroys the object.
Combined button and popup list for selecting options.
GLsizei GLsizei GLchar * source
GLdouble GLdouble GLdouble GLdouble q
myObject disconnect()
[26]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent