Skip to content

Commit 0b106d8

Browse files
Merge pull request #83 from AdamSpannbauer/issue_78
Fix 78
2 parents 70e719c + f4959ea commit 0b106d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

vidstab/VidStab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def stabilize(self, input_path, output_path, smoothing_window=30, max_frames=flo
475475
if border_size == 'auto':
476476
self.auto_border_flag = True
477477

478-
if not os.path.exists(input_path):
478+
if not os.path.exists(input_path) and not isinstance(input_path, int):
479479
raise FileNotFoundError(f'{input_path} does not exist')
480480

481481
self.frame_queue.set_frame_source(cv2.VideoCapture(input_path))

vidstab/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.7.0'
1+
__version__ = '1.7.1'

0 commit comments

Comments
 (0)