Skip to content

Commit 10c05bc

Browse files
authored
Merge pull request #694 from bpali/patch-1
update usage code sample in python
2 parents 472bc41 + 8956620 commit 10c05bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/components/nodes/video_encoder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Usage
5151
# Create ColorCamera beforehand
5252
# Set H265 encoding for the ColorCamera video output
5353
videoEncoder = pipeline.create(dai.node.VideoEncoder)
54-
videoEncoder.setDefaultProfilePreset(cam.getVideoSize(), cam.getFps(), dai.VideoEncoderProperties.Profile.H265_MAIN)
54+
videoEncoder.setDefaultProfilePreset(cam.getFps(), dai.VideoEncoderProperties.Profile.H265_MAIN)
5555

5656
# Create MJPEG encoding for still images
5757
stillEncoder = pipeline.create(dai.node.VideoEncoder)

0 commit comments

Comments
 (0)