Skip to content

Commit

Permalink
Bugfix for previous commit (missing character index for version strin…
Browse files Browse the repository at this point in the history
…g check).
  • Loading branch information
Breakthrough committed Dec 22, 2015
1 parent ba1d273 commit 207a81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scenedetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@


# Compatibility fix for OpenCV < 3.0
if (cv2.__version__[0] == '2') or (not cv2.__version__ == '3'):
if (cv2.__version__[0] == '2') or (not cv2.__version__[0] == '3'):
cv2.CAP_PROP_FRAME_WIDTH = cv2.cv.CV_CAP_PROP_FRAME_WIDTH
cv2.CAP_PROP_FRAME_HEIGHT = cv2.cv.CV_CAP_PROP_FRAME_HEIGHT
cv2.CAP_PROP_FPS = cv2.cv.CV_CAP_PROP_FPS
Expand Down

0 comments on commit 207a81f

Please sign in to comment.