Type Alias vidi::pipelines::StreamManual
source · pub type StreamManual = Stream<StreamManual>;
Aliased Type§
struct StreamManual {
camera: Arc<dyn CameraImpl>,
stream: StreamManual,
}
Fields§
§camera: Arc<dyn CameraImpl>
Makes sure that the lock on the camera is being held for the lifetime of the stream, despite that the dmabuf streaming mechanism doesn’t really need anything but the fd. Without this, it would be possible to acquire the same camera again even as the stream exists, as soon as the original camera goes out of scope.
stream: StreamManual