diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-01-09 14:26:59 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-01-12 16:10:37 +0100 |
commit | 35ac23dca19ea31f17a526679a697e3e327e6af1 (patch) | |
tree | c5375ed13fdbe34a237046b371c3094a7aaf6a04 /src/v4l2/v4l2_camera_proxy.cpp | |
parent | 5f316d0035b5481c3e1e637362c11649b5bba819 (diff) |
v4l2: Rename FrameMetadata to V4L2FrameMetadata
With the upcoming FrameBuffer API a new library wide FrameMetadata
object will be added which will replace the specific implementation in
the V4L2 compatibility layer.
Avoid name collisions while the new FrameBuffer API is added by renaming
the V4L2 compatibility layer specific implementation until it can be
replaced with the library wide implementation.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.cpp')
-rw-r--r-- | src/v4l2/v4l2_camera_proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp index 00d0d571..52f8468c 100644 --- a/src/v4l2/v4l2_camera_proxy.cpp +++ b/src/v4l2/v4l2_camera_proxy.cpp @@ -174,8 +174,8 @@ void V4L2CameraProxy::querycap(std::shared_ptr<Camera> camera) void V4L2CameraProxy::updateBuffers() { - std::vector<FrameMetadata> completedBuffers = vcam_->completedBuffers(); - for (FrameMetadata &fmd : completedBuffers) { + std::vector<V4L2FrameMetadata> completedBuffers = vcam_->completedBuffers(); + for (V4L2FrameMetadata &fmd : completedBuffers) { struct v4l2_buffer &buf = buffers_[fmd.index()]; switch (fmd.status()) { |