Thanks for your advise mvuori.
I sorry to make confuse of the title. Why I mention Camera and Video in a case because they both cause the issue I held above.
The devices I use are N950, 3 of N8s, E7 and a C7. And I'm sorry to just said "Symbian" there but I'm on Symbian^3 only.
My code is simple as below:
MultimediaHolder.qml
Code:
...
Loader {
id: videoLoader
anchors.fill: parent
}
ListModel {
id: mediaModel
//Some content
...
}
Compoent {
id: mediaDelegate
//some composing
...
}
ListView {
model: mediaModel
delegate: mediaDelegate
...
}
...
videoLoader.source = "VideoPage.qml";
videoLoader.item.showPage();
VideoLoader.qml (Copy from "help")
Code:
import Qt 4.7
import QtMultimediaKit 1.1
Video {
id: video
width : 800
height : 600
source: "video.avi"
MouseArea {
anchors.fill: parent
onClicked: {
video.play()
}
}
focus: true
Keys.onSpacePressed: video.paused = !video.paused
Keys.onLeftPressed: video.position -= 5000
Keys.onRightPressed: video.position += 5000
}
Before loader was loaded, the listview works smoothly, but it becomes lag while the loader was launched. If I did not force to use openGL acceleration in Meego(N950), the case happen. It seems that while the qml video is loaded, the system will autometically close the acceleration by "hardware" but in "software" mode. So, I'm looking for a way for Symbian^3 devices to force to use openGL.
I'm sorry if I still not state clearly, but I'm trying my best. If any not clear, please let me know. My goal is to solve the problem and share the experience.
Thank you All!