openpnp / openpnp-capture

A cross platform video capture library with a focus on machine vision.
MIT License
129 stars 56 forks source link

ActiveMovie popup on Windows 11 #58

Closed Benoit9 closed 2 years ago

Benoit9 commented 2 years ago

On WIndows 11, when I open a local webcam, a new window titled "ActiveMovie" is created by dwm.exe and displays the video. I can't seem to get rid of it even though I found people complaining about something similar back in 2003. Is there anything (including changes to openpnp-capture) I can do to prevent this? Thank you!

Benoit9 commented 2 years ago

It turns out a NullRenderer is needed in platformstream.cpp but it is not created in debug mode. So to get rid of the ActiveMovie window even in Debug, comment out the #ifndef _DEBUG in platformstream.cpp