Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.1.0 Beta 1
-
None
Description
On some hardware the PlayBookOS and BB10 run on, the viewport of the video window initially contains a "keep out region", which later on is "removed" by the mmrenderer process, which paints in this window. Howevere, the current code in qtmultimedia/src/plugins/blackberry/common/WindowGrabber.cpp assumes that the window size doesn't change. Therefor the grabbed frames contain transparent borders.
The attached patch fixes the issue by checking whether the viewport size has changed and adapting the frame size accordingly. However it needs some more testing against the camera functionality, as that one uses the WindowGrabber for its viewport rendering as well.