projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
416fb50
)
Fixed typo
author
Pastafarianist
<mr.pastafarianist@gmail.com>
Sun, 5 May 2013 12:17:41 +0000
(16:17 +0400)
committer
Pastafarianist
<mr.pastafarianist@gmail.com>
Sun, 5 May 2013 12:17:41 +0000
(16:17 +0400)
samples/python2/video.py
patch
|
blob
|
history
diff --git
a/samples/python2/video.py
b/samples/python2/video.py
index
e40d4d1
..
187bb6d
100755
(executable)
--- a/
samples/python2/video.py
+++ b/
samples/python2/video.py
@@
-140,7
+140,7
@@
def create_capture(source = 0, fallback = presets['chess']):
'''
source = str(source).strip()
chunks = source.split(':')
- # han
ld
e drive letter ('c:', ...)
+ # han
dl
e drive letter ('c:', ...)
if len(chunks) > 1 and len(chunks[0]) == 1 and chunks[0].isalpha():
chunks[1] = chunks[0] + ':' + chunks[1]
del chunks[0]