Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
17
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 QtGuiPrivate \inheaderfile rhi/qrhi.h
Definition qrhi.h:1804
Implementation backend() const
Definition qrhi.cpp:8651
@ OpenGLES2
Definition qrhi.h:1809
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.
#define emit