mirror of https://github.com/godotengine/godot
- Add null check for pixelBuffer in camera callback - Return nil from capture session init on input/output failure - Fix activate_feed return value and handle permission denied/restricted - Deactivate camera feeds before removal Add plane count check before accessing pixel buffer planes to handle unexpected buffer formats gracefully. Also improve null checks to use one-time logging and properly unlock the buffer before returning on error. |
||
|---|---|---|
| .. | ||
| SCsub | ||
| buffer_decoder.cpp | ||
| buffer_decoder.h | ||
| camera_android.cpp | ||
| camera_android.h | ||
| camera_feed_linux.cpp | ||
| camera_feed_linux.h | ||
| camera_linux.cpp | ||
| camera_linux.h | ||
| camera_macos.h | ||
| camera_macos.mm | ||
| camera_win.cpp | ||
| camera_win.h | ||
| config.py | ||
| register_types.cpp | ||
| register_types.h | ||