Add support mips arch for v4l2 source

This commit is contained in:
Alex X
2025-01-09 00:20:48 +03:00
parent 59161c663b
commit 7e0a163f12
11 changed files with 725 additions and 286 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ func (d *Device) ListFrameRates(pixFmt, width, height uint32) ([]uint32, error)
func (d *Device) SetFormat(width, height, pixFmt uint32) error {
f := v4l2_format{
typ: V4L2_BUF_TYPE_VIDEO_CAPTURE,
fmt: v4l2_pix_format{
pix: v4l2_pix_format{
width: width,
height: height,
pixelformat: pixFmt,