Commit c52e47dc authored by Val Doroshchuk's avatar Val Doroshchuk

refact

parent e75f67bc
......@@ -68,10 +68,10 @@ public:
public Q_SLOTS:
void onStreamsChanged();
void onMediaPlayerChanged();
void updatePlaybin();
void mediaPlayerChanged();
protected:
private:
QString videoSinkDesc;
QString pendingVideoSinkDesc;
......@@ -95,7 +95,7 @@ protected:
QList<QVariantMap> textStreamProperties;
};
void QGstreamerPlaybinPrivate::mediaPlayerChanged()
void QGstreamerPlaybinPrivate::onMediaPlayerChanged()
{
Q_Q(QGstreamerPlaybin);
......@@ -243,9 +243,9 @@ QGstreamerPlaybin::QGstreamerPlaybin(QMediaPlayer *media, QObject *parent)
d, &QGstreamerPlaybinPrivate::updatePlaybin);
connect(this, &QGstreamerPipeline::mediaPlayerChanged,
d, &QGstreamerPlaybinPrivate::mediaPlayerChanged);
d, &QGstreamerPlaybinPrivate::onMediaPlayerChanged);
d->mediaPlayerChanged();
d->onMediaPlayerChanged();
}
QGstreamerPlaybin::QGstreamerPlaybin(QObject *parent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment