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
qffmpegplugin.cpp
Go to the documentation of this file.
1
// Copyright (C) 2025 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
6
#
include
<
qffmpegmediaintegration_p
.
h
>
7
8
QT_BEGIN_NAMESPACE
9
10
class
QFFmpegMediaPlugin
:
public
QPlatformMediaPlugin
11
{
12
Q_OBJECT
13
Q_PLUGIN_METADATA(IID QPlatformMediaPlugin_iid FILE
"ffmpeg.json"
)
14
15
public
:
16
QPlatformMediaIntegration
*
create
(
const
QString
&
name
)
override
17
{
18
if
(
name
== u"ffmpeg")
19
return
new
QFFmpegMediaIntegration
;
20
return
nullptr
;
21
}
22
};
23
24
QT_END_NAMESPACE
25
26
#
include
"qffmpegplugin.moc"
QFFmpegMediaPlugin
Definition
qffmpegplugin.cpp:11
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtmultimedia
src
plugins
multimedia
ffmpeg
qffmpegplugin.cpp
Generated on
for Qt by
1.14.0