py: MappedFrameBuffer: Add 'fb' property

Add 'fb' property to expose the underlying FrameBuffer.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Tomi Valkeinen
2022-05-30 17:27:15 +03:00
committed by Laurent Pinchart
parent 43192f4321
commit 958d9187aa

View File

@@ -99,3 +99,7 @@ class MappedFrameBuffer:
raise RuntimeError('MappedFrameBuffer not mmapped')
return self.__planes
@property
def fb(self):
return self.__fb