Source

pygame / lib / _camera_vidcapture.py

Diff from to

lib/_camera_vidcapture.py

 
 
 def init():
-
-
+    global vidcap
     try:
         import vidcap as vc
     except ImportError:
         from VideoCapture import vidcap as vc
-        
-    global vidcap
-    vidcap = vc        
-
+    vidcap = vc
 
 def quit():
     global vidcap