py: Add FrameMetadataPlane
Add FrameMetadataPlane class and adjust the methods and uses accordingly. 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:
parent
80e0ff355e
commit
e8317de05c
2 changed files with 10 additions and 6 deletions
|
@ -285,7 +285,8 @@ class CaptureState:
|
|||
print('{:.6f} ({:.2f} fps) {}-{}: seq {}, bytes {}, CRCs {}'
|
||||
.format(ts / 1000000000, fps,
|
||||
ctx.id, stream_name,
|
||||
meta.sequence, meta.bytesused,
|
||||
meta.sequence,
|
||||
'/'.join([str(p.bytes_used) for p in meta.planes]),
|
||||
crcs))
|
||||
|
||||
if ctx.opt_metadata:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue