Camera still doesn't work on the phone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
In Progress
|
High
|
Chris Coulson |
Bug Description
With the fix for bug 1508972, I still can't use the camera on the phone. When I try to, I see a message like this:
Failed to start viewfinder with format: QVideoSurfaceFo
handleType = QVariant(
pixelFormat = QVariant(
frameSize = QVariant(QSize, QSize(960, 540))
frameWidth = QVariant(int, 960)
viewport = QVariant(QRect, QRect(0,0 960x540))
scanLineDi
frameRate = QVariant(double, 0)
pixelAspec
sizeHint = QVariant(QSize, QSize(960, 540))
yCbCrColor
The issue is that we just don't support video frames being delivered via a GL texture (we only support software frames). This requires a fairly significant amount of work in Oxide to be able to share these frames with the GPU service (thread or process).
Also, the QCamera implementation seems to be relying on qtvideo-node to supply its texture which means that it doesn't get a texture unless it's being displayed in the scene graph, which we obviously aren't doing (we need to instantiate the QCamera outside of QML)
Changed in oxide: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in oxide: | |
milestone: | none → branch-1.12 |
assignee: | nobody → Chris Coulson (chrisccoulson) |
Changed in oxide: | |
status: | Triaged → In Progress |