Skip to content

Commit dcf2cd7

Browse files
hexbaberandhid
andauthored
Update components/camera/videosource/webcam.go
Co-authored-by: randhid <[email protected]>
1 parent 1456e6a commit dcf2cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/camera/videosource/webcam.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ func (c *webcam) Properties(ctx context.Context) (camera.Properties, error) {
461461
frameRate = c.conf.FrameRate
462462
}
463463
return camera.Properties{
464-
SupportsPCD: intrinsics != nil,
464+
SupportsPCD: c.cameraModel.PinholeCameraIntrinsics != nil,
465465
ImageType: camera.ColorStream,
466466
IntrinsicParams: c.cameraModel.PinholeCameraIntrinsics,
467467
DistortionParams: c.cameraModel.Distortion,

0 commit comments

Comments
 (0)