Page MenuHomePhabricator

MITK-US crashes when adding video device while no device is connected
Closed, InvalidPublic

Description

USImageVideoSource crashes in method "SetCameraInput" when calling m_VideoCapture->open(deviceID). Access violation in OpenCV function.

It would be necessary to test if at least one video device is available before caling this function. Maybe this is indeed an OpenCV bug, because cv::VideoCapture has an "isOpened" function to be called after "open" to check if device could be opened successfull.

Event Timeline

I cannot reproduce this bug anymore.

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:32 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:36 PM
kislinsk removed a project: Bulk Edit.