Merge pull request #19370 from OlivierLDff:patch-dshow-convertrgb
authorOlivier Le Doeuff <olivier.ldff@gmail.com>
Fri, 29 Jan 2021 10:18:09 +0000 (11:18 +0100)
committerGitHub <noreply@github.com>
Fri, 29 Jan 2021 10:18:09 +0000 (10:18 +0000)
commit4c7f56263e450329267f38c44f4106e21b425947
tree7d20f635c90ffcc3a606e25d23c1e36d54982fad
parent6be9496d73d880142e7b91487f11bbd479c5d8fc
Merge pull request #19370 from OlivierLDff:patch-dshow-convertrgb

VideoCapture/DSHOW : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL/WIDTH/HEIGHT.

* 🐛 cap_dshow : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL

* 🐛 cap_dshow : fix g_VI.setConvertRGB not being called with correct boolean value on first property set.

* ✅ cap_dshow : Test CAP_PROP_CONVERT_RGB persistence

* 🚨 Fix cast from bool to double

* 🚨 Fix trailing whitespace
modules/videoio/src/cap_dshow.cpp
modules/videoio/src/cap_dshow.hpp
modules/videoio/test/test_camera.cpp