Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickgstreamervideosource_p.h
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
4
#
ifndef
QQUICKGSTREAMERVIDEOSOURCE_P_H
5
#
define
QQUICKGSTREAMERVIDEOSOURCE_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 for the convenience
12
// of other Qt classes. 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
<
QtMultimedia
/
spi
/
qgstreamervideosource
.
h
>
19
#
include
<
QtMultimediaQuick
/
private
/
qtmultimediaquickglobal_p
.
h
>
20
#
include
<
QtQml
/
qqml
.
h
>
21
22
#
include
<
optional
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
Q_MULTIMEDIAQUICK_EXPORT
QQuickGStreamerVideoSource
:
public
QGStreamerVideoSource
27
{
28
Q_OBJECT
29
Q_PROPERTY(
bool
active READ qmlIsActive WRITE qmlSetActive NOTIFY activeChanged FINAL)
30
Q_PROPERTY(QString gstBinDescription READ gstBinDescription WRITE setQmlGstBinDescription
31
REQUIRED FINAL)
32
QML_NAMED_ELEMENT(GStreamerVideoSource)
33
34
public
:
35
explicit
QQuickGStreamerVideoSource(QObject *parent =
nullptr
);
36
37
bool
qmlIsActive()
const
;
38
void
qmlSetActive(
bool
active);
39
void
setQmlGstBinDescription(QString gstBinDescription);
40
41
private
:
42
struct
PendingProperties
43
{
44
bool
active =
false
;
45
};
46
47
std::optional<PendingProperties> m_pendingProperties = PendingProperties{};
48
};
49
50
QT_END_NAMESPACE
51
52
#
endif
// QQUICKGSTREAMERVIDEOSOURCE_P_H
QQuickGStreamerVideoSource
Definition
qquickgstreamervideosource_p.h:27
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtmultimedia
src
multimediaquick
qquickgstreamervideosource_p.h
Generated on
for Qt by
1.18.0