Commit b7cb7917 authored by Val Doroshchuk's avatar Val Doroshchuk

clean up

parent 109540d2
......@@ -192,15 +192,15 @@ void QGstreamerMediaPlayer::setMediaObject(QMediaObject *src)
connect(d->session, &QGstreamerPlayerSession::streamsChanged,
this, &QGstreamerMediaPlayer::streamsChanged);
d->mediaObject = src;
emit mediaObjectChanged();
// In case if these values've been applied
// before mediaObject is available.
setVideoSink(d->videoSink);
setShowText(d->showText);
setTextUri(d->textUri);
setTextFont(d->textFont);
d->mediaObject = src;
emit mediaObjectChanged();
}
QString QGstreamerMediaPlayer::videoSink() 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