Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohosvideosink.cpp
Go to the documentation of this file.
1// Copyright (C) 2026 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
6#include <rhi/qrhi.h>
7
9
11
12QOhosVideoSink::~QOhosVideoSink() = default;
13
14void QOhosVideoSink::setRhi(QRhi *rhi)
15{
16 if (m_rhi == rhi)
17 return;
18 m_rhi = rhi;
19 emit rhiChanged();
20}
21
22QT_END_NAMESPACE
23
24#include "moc_qohosvideosink_p.cpp"
QObject * parent
Definition qobject.h:74
void setRhi(QRhi *rhi) override
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.