Message ID | 20240909091431.3688159-1-chenghaoyang@google.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h index ff839243..ececc123 100644 --- a/include/libcamera/framebuffer.h +++ b/include/libcamera/framebuffer.h @@ -32,9 +32,9 @@ struct FrameMetadata { unsigned int bytesused; }; - Status status; - unsigned int sequence; - uint64_t timestamp; + Status status = FrameError; + unsigned int sequence = 0; + uint64_t timestamp = 0; Span<Plane> planes() { return planes_; } Span<const Plane> planes() const { return planes_; }