Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.2.1
-
None
-
Kubuntu 13.10 x64
KDELibs 4.11.5
Description
I have a video component and video file and i need to play only video without any sound.
So, i used "muted" property to switch off volume.
But after first playing from begin to end (from "play" to "stop") "muted" is changed to false and i can't change it any more.
This is my code:
Video {
source: "file:///home/user/video.mp4"
muted: true
onMutedChanged: {
print("mutedBefore:" + muted);
muted = Qt.binding(function ()
);
print("mutedAfter:" + muted);
}
onPlaying:
onStopped:
{ print("Stopped"); }}
And this is the log:
mutedBefore:true
mutedAfter:true
mutedBefore:true
mutedAfter:true
Playing
Stopped
Playing
mutedBefore:false
mutedAfter:false
Stopped
As the line: properties "muted" and "volume" unchangeable after video is stopped by itself at the end.