diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-12 04:24:47 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-15 05:05:31 +0300 |
commit | 7e2948f5e106e7d3623134fb9f6c59347640c696 (patch) | |
tree | dadcbd08b4f90052c2ccec6fbfe2feba30aaaa24 /src/cam/drm.cpp | |
parent | 45662c4dd757cff33ebbf296c8f656c17c9022b5 (diff) |
cam: Pass stream names to FileSink
The FileSink class constructs stream names internally the same way that
the CameraSession does, except that it fails to add the camera name.
This results in files being written without the camera name.
This could be fixed in FileSink, but we would still duplicate code to
construct stream names. Pass the stream names map from CameraSession to
FileSink instead, and store it internally.
Fixes: 02001fecb0f5 ("cam: Turn BufferWriter into a FrameSink")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/drm.cpp')
0 files changed, 0 insertions, 0 deletions