Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Val Doroshchuk
qtgstreamerextras
Commits
b7cb7917
Commit
b7cb7917
authored
May 18, 2018
by
Val Doroshchuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up
parent
109540d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/gstreamerextras/playback/qgstreamermediaplayer.cpp
src/gstreamerextras/playback/qgstreamermediaplayer.cpp
+3
-3
No files found.
src/gstreamerextras/playback/qgstreamermediaplayer.cpp
View file @
b7cb7917
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment