Skip to content

Commit 4f011e1

Browse files
committed
fix: add default value to the input parameters
1 parent ca749df commit 4f011e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/cv2/cv2_extract_frames.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
</command>
3737
<inputs>
3838
<param name="video_path" type="data" optional="False" format="mp4,avi" label="Input video to convert"/>
39-
<param name="start_time" type="float" optional="False" label="Start time (seconds)" help="Start time in seconds"/>
40-
<param name="end_time" type="float" optional="False" label="End time (seconds)" help="End time in seconds"/>
39+
<param name="start_time" type="float" value= "0" optional="False" label="Start time (seconds)" help="Start time in seconds"/>
40+
<param name="end_time" type="float" value= "-1" optional="False" label="End time (seconds)" help="End time in seconds"/>
4141
<param name="convert_to_grey" type="boolean" label="Convert output to single-channel grayscale?" help="Convert the file to grayscale (will be RGB otherwise)."/>
4242
</inputs>
4343
<outputs>

0 commit comments

Comments
 (0)