[SailfishDevel] How to access the viewfinder of the QCamera?
marcel at aliquis.de
Sat Jan 25 20:22:24 UTC 2014
how can I access the viewfinder of the camera in Qt on SailfishOS?
If I try it in QML like this:
Or if I use C++ implementing an own QAbstractVideoSurface as viewfinder for a
QCamera object (which would be my prefered way as I want to precess the image
data) I get the following error:
[W] CameraBinSession::processBusMessage:912 - CameraBin error: "No common
After some digging in the gstreamer debug log it seems that the camera source
is just supporting the data format video/x-android-buffer and there is no
equivalent QVideoFrame::PixelFormat for this. Is there really no possibility
to access the viewfinder in Qt? Then how is the camera app doing that?
More information about the Devel