4#ifndef QGSTREAMERVIDEOSOURCE_P_H
5#define QGSTREAMERVIDEOSOURCE_P_H
18#include "private/qobject_p.h"
19#include <QtMultimedia/spi/qgstreamervideosource.h>
20#include <QtCore/qstring.h>
27class QGStreamerVideoSource;
30using GstElementOrDescription = std::variant<QString, GstElement *>;
34 Q_DECLARE_PUBLIC(QGStreamerVideoSource)
42 return static_cast<QGStreamerVideoSourcePrivate *>(QObjectPrivate::get(source));
47 GstElementOrDescription elementOrDesc,
QPlatformCamera * platformCamera
static QGStreamerVideoSourcePrivate * get(QGStreamerVideoSource *source)
Q_MULTIMEDIA_EXPORT void createPlatformCamera(QGStreamerVideoSource *source, GstElementOrDescription elementOrDesc, bool active=false)
\qmltype GStreamerVideoSource \nativetype QGStreamerVideoSource \inqmlmodule QtMultimedia
QMediaCaptureSession * captureSession
The QGStreamerVideoSource class provides a video source backed by a custom GStreamer element.
Combined button and popup list for selecting options.