Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qandroidvideosink_p.h
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
4#ifndef QANDROIDVIDEOSINK_P_H
5#define QANDROIDVIDEOSINK_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qtmultimediaglobal_p.h>
19#include <private/qplatformvideosink_p.h>
20
21#include <qvideosink.h>
22
24
26 : public QPlatformVideoSink
27{
29public:
30 explicit QAndroidVideoSink(QVideoSink *parent = 0);
32
33 void setRhi(QRhi *rhi) override;
34
35private:
36 QRhi *m_rhi = nullptr;
37};
38
40
41#endif
void setRhi(QRhi *rhi) override
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
\inmodule QtGui
Definition qrhi.h:1767
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.
#define Q_OBJECT