Fixed issue with cv2.VideoCapture based plugin