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:
committed by
Laurent Pinchart
parent
43192f4321
commit
958d9187aa
@@ -99,3 +99,7 @@ class MappedFrameBuffer:
|
||||
raise RuntimeError('MappedFrameBuffer not mmapped')
|
||||
|
||||
return self.__planes
|
||||
|
||||
@property
|
||||
def fb(self):
|
||||
return self.__fb
|
||||
|
||||
Reference in New Issue
Block a user