Commit 8e0df03
committed
Initialize camera width and height to 0
When creating a new CameraSettings for a detected camera, explicitly set width and height to 0. This ensures the new_cam instance has those fields initialized rather than relying on implicit defaults.1 parent a5ca077 commit 8e0df03
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
| 999 | + | |
| 1000 | + | |
999 | 1001 | | |
1000 | 1002 | | |
1001 | 1003 | | |
| |||
0 commit comments