The stream_start() callback needs to return 0 for success. However, to indicate work has been successfully scheduled, k_work_schedule() could return either 0 (already scheduled) or 1 (newly scheduled). Due to this issue, the sw_generator could not start streaming. Fix it. Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.mcux_csi | ||
| Kconfig.mt9m114 | ||
| Kconfig.ov2640 | ||
| Kconfig.ov7725 | ||
| Kconfig.sw_generator | ||
| mt9m114.c | ||
| ov2640.c | ||
| ov7725.c | ||
| video_common.c | ||
| video_mcux_csi.c | ||
| video_sw_generator.c | ||