| 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 | // | 
| 5 | // W A R N I N G | 
| 6 | // ------------- | 
| 7 | // | 
| 8 | // This file is not part of the Qt API. It exists purely as an | 
| 9 | // implementation detail. This header file may change from version to | 
| 10 | // version without notice, or even be removed. | 
| 11 | // | 
| 12 | // We mean it. | 
| 13 | // | 
| 14 | |
| 15 | #include <QtMultimedia/private/qgstreamer_platformspecificinterface_p.h> | 
| 16 | |
| 17 | QT_BEGIN_NAMESPACE | 
| 18 | |
| 19 | QGStreamerPlatformSpecificInterface::~QGStreamerPlatformSpecificInterface() = default; | 
| 20 | |
| 21 | QGStreamerPlatformSpecificInterface *QGStreamerPlatformSpecificInterface::instance() | 
| 22 | { | 
| 23 | return dynamic_cast<QGStreamerPlatformSpecificInterface *>( | 
| 24 | QPlatformMediaIntegration::instance()->platformSpecificInterface()); | 
| 25 | } | 
| 26 | |
| 27 | QT_END_NAMESPACE | 
| 28 | 
