Files
mediadevices/pkg/driver
sean yu 9a3d191368 (2/3) Fix windows camera names (#683)
* Add NV12 support

* Fix camera resolution listing by supporting FORMAT_VideoInfo2 in addition to FORMAT_VideoInfo. This change allows for better compatibility with various video formats by correctly retrieving width, height, and compression details from both format types (NV12 and YUY2)

* Add support for configuring video capture pin format in open method

* Import wmcodecdsp and try to use their nv12 const

* Remove ifndef

* Use subtype.Data1 instead of biCompression

* Enhance getCameraName function to retrieve friendly name from IPropertyBag, with fallback to display name. Update LDFLAGS in camera_windows.go to include oleaut32 library.

* Don't mistake label for friendly name

* Improve camera device name handling and memory management in Windows driver. Added checks for valid device names and initialized camera lists to prevent memory issues. Enhanced resolution listing by ensuring proper media type handling and freeing resources appropriately.
2026-03-17 09:02:45 -04:00
..
2025-09-14 21:55:37 -04:00
2023-10-17 16:41:33 -04:00
2023-04-24 11:14:58 -04:00