Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qandroidvideosink.cpp
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5#include <rhi/qrhi.h>
6
7#include <QtCore/qdebug.h>
8
9#include <QtCore/qloggingcategory.h>
10
12
15{
16}
17
19{
20}
21
23{
24 if (rhi && rhi->backend() != QRhi::OpenGLES2)
25 rhi = nullptr;
26 if (m_rhi == rhi)
27 return;
28
29 m_rhi = rhi;
30 emit rhiChanged(rhi);
31}
32
34
35#include "moc_qandroidvideosink_p.cpp"
QAndroidVideoSink(QVideoSink *parent=0)
void setRhi(QRhi *rhi) override
void rhiChanged(QRhi *rhi)
\inmodule QtGui
Definition qrhi.h:1767
Implementation backend() const
Definition qrhi.cpp:8289
@ OpenGLES2
Definition qrhi.h:1772
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.
#define emit
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent