fix build
This commit is contained in:
parent
4d3cd59ea2
commit
bad6badc8e
2 changed files with 3 additions and 3 deletions
|
@ -10,8 +10,8 @@
|
||||||
#include <QLayout>
|
#include <QLayout>
|
||||||
#include <QVideoWidget>
|
#include <QVideoWidget>
|
||||||
|
|
||||||
QtMultimediaBackend::QtMultimediaBackend(QWidget* parent)
|
QtMultimediaBackend::QtMultimediaBackend(Application* app, QWidget* parent)
|
||||||
: PlayerBackend(parent),
|
: PlayerBackend(app, parent),
|
||||||
#if QT_VERSION_MAJOR == 6
|
#if QT_VERSION_MAJOR == 6
|
||||||
m_audio(new QAudioOutput(this)),
|
m_audio(new QAudioOutput(this)),
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -27,7 +27,7 @@ class QtMultimediaBackend : public PlayerBackend {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit QtMultimediaBackend(QWidget* parent = nullptr);
|
explicit QtMultimediaBackend(Application* app, QWidget* parent = nullptr);
|
||||||
|
|
||||||
virtual QUrl url() const;
|
virtual QUrl url() const;
|
||||||
virtual int position() const;
|
virtual int position() const;
|
||||||
|
|
Loading…
Add table
Reference in a new issue