diff --git a/docs/source/components/nodes/video_encoder.rst b/docs/source/components/nodes/video_encoder.rst index 9c710d730..89fb48f0b 100644 --- a/docs/source/components/nodes/video_encoder.rst +++ b/docs/source/components/nodes/video_encoder.rst @@ -51,7 +51,7 @@ Usage # Create ColorCamera beforehand # Set H265 encoding for the ColorCamera video output videoEncoder = pipeline.create(dai.node.VideoEncoder) - videoEncoder.setDefaultProfilePreset(cam.getVideoSize(), cam.getFps(), dai.VideoEncoderProperties.Profile.H265_MAIN) + videoEncoder.setDefaultProfilePreset(cam.getFps(), dai.VideoEncoderProperties.Profile.H265_MAIN) # Create MJPEG encoding for still images stillEncoder = pipeline.create(dai.node.VideoEncoder)