Android: QVideoFrame::map succeeds, yet buffer contains only zero values
-
Hello!
I have created a simple QtQuick 2 application which displays a Camera preview using a VideoOutput with a filter attached to it. The VideoOutput shows the expected preview image.
Within the QVideoFilterRunnable::run() method I'm successfully calling the map() method on the provided QVideoFrame input parameter. However the buffer pointed to by QVideoFrame::bits() only contains zeros. This does not happen if the application runs in the Android simulator (which has OpenGL turned off).
Is there a known issue regarding the mapping of OpenGL video data?
Christian
-
Browsing through the Qt sources I've discovered, that certain GPU chipsets get a special treatment. Among others there are the chipsets Mali-T720 and Mali-T760. My device is equipped with a Mali-T860. I'll add that one to the blacklist as well and see where it gets me.
Christian
-
Hi and welcome to devnet,
You can, but before doing it just check whether the 5.9 branch already contains it.
-
-
Thanks !