Commit c498d487 authored by Val Doroshchuk's avatar Val Doroshchuk

rename videoSink to videoSinkDesc

parent bf278e5d
......@@ -158,7 +158,7 @@ void QGstreamerMediaPlayer::setMediaObject(QMediaObject *src)
if (!d->session)
return;
connect(d->session, &QGstreamerPlayerSession::videoSinkChanged,
connect(d->session, &QGstreamerPlayerSession::videoSinkDescChanged,
this, &QGstreamerMediaPlayer::videoSinkChanged);
connect(d->session, &QGstreamerPlayerSession::showTextChanged,
......@@ -207,7 +207,7 @@ QString QGstreamerMediaPlayer::videoSink() const
{
Q_D(const QGstreamerMediaPlayer);
return d->session ? d->session->videoSink() : d->videoSink;
return d->session ? d->session->videoSinkDesc() : d->videoSink;
}
void QGstreamerMediaPlayer::setVideoSink(const QString &name)
......@@ -216,7 +216,7 @@ void QGstreamerMediaPlayer::setVideoSink(const QString &name)
d->videoSink = name;
if (d->session)
d->session->setVideoSink(name);
d->session->setVideoSinkDesc(name);
}
bool QGstreamerMediaPlayer::showText() const
......
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