From 20b0c09a0ce14b04f02e97c0079648920f95248c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 20 Mar 2019 18:37:46 +0100 Subject: [PATCH] Removed workaround that doesn't work --- platypush/plugins/camera/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/platypush/plugins/camera/__init__.py b/platypush/plugins/camera/__init__.py index a93224a6c9..0006e62136 100644 --- a/platypush/plugins/camera/__init__.py +++ b/platypush/plugins/camera/__init__.py @@ -4,10 +4,6 @@ import shutil import threading import time -# Temporary workaround for bug on OpenCV >= 3.4.2 that doesn't -# properly release the device, see https://github.com/opencv/opencv/issues/12301#issuecomment-415801564 -os.environ['OPENCV_VIDEOIO_PRIORITY_MSMF'] = '0' - import cv2 from datetime import datetime