Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why does capture.QueryFrame() eventually return null?

I'm using capture.QueryFrame() in C# on a Logitech webcam. After an extended period of time (seems like 1-4 hours), QueryFrame() will begin returning null. This doesn't stop until the application is closed and re-opened.

The frame section is wrapped in a using( var frame = ...) block, so I don't have any other great ideas about what could be going wrong here. Does anyone have any other suggestions?