zuloloxi / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Test if videoCapabilities is null #277

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Some fake cameras, like "Google Camera Adapter 0" doesn't provide 
videoCapabilities.

Line 242 of the following file.
http://aforge.googlecode.com/svn/trunk/Sources/Video.DirectShow/VideoCaptureDevi
ceForm.cs

Original issue reported on code.google.com by fcmeneze...@gmail.com on 10 Jan 2012 at 2:11

GoogleCodeExporter commented 8 years ago
VideoCaptureDevice is updated to never provide null for VideoCapabilities 
property. If device does not support video capabilities or it failed providing 
them, then the property will return 0 length array, but not null.

Committed in revision 1656. Will be released in version 2.2.4.

Original comment by andrew.k...@gmail.com on 12 Jan 2012 at 10:33

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 23 Feb 2012 at 9:13