Commit b86ecf7a authored by Adrien Béraud's avatar Adrien Béraud

video: lock setDeviceOrientation

Change-Id: I9637fe95a38124d6ab13116671191432f09c6979
parent ae7c912a
......@@ -141,6 +141,7 @@ VideoDeviceMonitor::setDefaultDevice(const std::string& id)
VideoDeviceMonitor::setDeviceOrientation(const std::string& id, int angle)
std::lock_guard<std::mutex> l(lock_);
const auto itd = findDeviceById(id);
if (itd != devices_.cend()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment