标题:qml 用Video控件在rk3126c上播放在线视频,网络很差的情况下,调用系统自带stop函数,会导致UI卡死
作者:yl1627366632
日期:2022-04-11 20:10
内容:
1、
Video {
id: player
anchors.fill: parent
//orientation: 90
//fillMode: VideoOutput.Stretch
fillMode: VideoOutput.PreserveAspectFit
property bool isPlaying: false
onBufferProgressChanged: {
console.log("______onBufferProgressChanged______", bufferProgress)
}
onPositionChanged: {
progressBar.value = position / duration
console.log("_____onPositionChanged_____", progressBar.value, position, duration)
}
}
2、
qml: _____onPositionChanged_____ 0.27672813666704377 7338 26517
qml: _____onPositionChanged_____ 0.27672813666704377 7338 26517
qml: _____onPositionChanged_____ 0.27672813666704377 7338 26517
qml: _____onPositionChanged_____ ..
#1 [liudianwu 04-12 08:36]
你可以试试win上是否正常,对比排除。
#2 [yl1627366632 04-12 10:36]
window没有问题