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
qgstreamerplugin.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 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#include <QtMultimedia/private/qplatformmediaplugin_p.h>
5
7
9
11{
14
15public:
17
19 {
20 if (name == u"gstreamer")
21 return new QGstreamerIntegration;
22 return nullptr;
23 }
24};
25
27
28#include "qgstreamerplugin.moc"
QPlatformMediaIntegration * create(const QString &name) override
QGstreamerMediaPlugin()=default
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLuint name
#define QPlatformMediaPlugin_iid
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)