diff --git a/qml/QmlAV/QmlAVPlayer.h b/qml/QmlAV/QmlAVPlayer.h index 966f459f1..71513b298 100644 --- a/qml/QmlAV/QmlAVPlayer.h +++ b/qml/QmlAV/QmlAVPlayer.h @@ -342,7 +342,7 @@ public Q_SLOTS: void statusChanged(); void mediaObjectChanged(); void audioBackendsChanged(); - void notifyIntervalChanged(int notifyInterval); + void notifyIntervalChanged(); private Q_SLOTS: // connect to signals from player diff --git a/qml/QmlAVPlayer.cpp b/qml/QmlAVPlayer.cpp index 2800b6a7b..f1bc5a0e2 100644 --- a/qml/QmlAVPlayer.cpp +++ b/qml/QmlAVPlayer.cpp @@ -89,7 +89,7 @@ void QmlAVPlayer::classBegin() connect(mpPlayer, SIGNAL(seekableChanged()), SIGNAL(seekableChanged())); connect(mpPlayer, SIGNAL(seekFinished(qint64)), this, SIGNAL(seekFinished()), Qt::DirectConnection); connect(mpPlayer, SIGNAL(bufferProgressChanged(qreal)), SIGNAL(bufferProgressChanged())); - connect(mpPlayer, SIGNAL(notifyIntervalChanged()), SIGNAL(notifyIntervalChanged())); + connect(mpPlayer, SIGNAL(notifyIntervalChanged()), this,SIGNAL(notifyIntervalChanged())); connect(this, SIGNAL(channelLayoutChanged()), SLOT(applyChannelLayout())); // direct connection to ensure volume() in slots is correct connect(mpPlayer->audio(), SIGNAL(volumeChanged(qreal)), SLOT(applyVolume()), Qt::DirectConnection);