Commit 1e8bbfc3 authored by Ghislain MARY's avatar Ghislain MARY

If we don't detect camera resolutions capabilities, use the required video size.

parent bf33edb9
......@@ -333,8 +333,8 @@ MSVideoSize MSWinRTCapHelper::SelectBestVideoSize(MSVideoSize vs)
}
if ((bestFoundSize.width == 0) && bestFoundSize.height == 0) {
ms_warning("[MSWinRTCap] This camera does not support our video size, use minimum size available");
return minSize;
ms_warning("[MSWinRTCap] This camera does not support our video size, use requested size");
return vs;
}
ms_message("[MSWinRTCap] Best video size is %ix%i", bestFoundSize.width, bestFoundSize.height);
......
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