You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/07/29 14:42:37 UTC

[nuttx-apps] branch master updated: examples/camera: Video driver multi-instance adaptation

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new c10e78869 examples/camera: Video driver multi-instance adaptation
c10e78869 is described below

commit c10e78869bed1303fffe624c50330f865fa66259
Author: yuexinyi <yu...@xiaomi.com>
AuthorDate: Fri Jul 28 14:35:41 2023 +0800

    examples/camera: Video driver multi-instance adaptation
    
    Signed-off-by: yuexinyi <yu...@xiaomi.com>
---
 examples/camera/camera_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/camera/camera_main.c b/examples/camera/camera_main.c
index b23dc759a..81c7f8d79 100644
--- a/examples/camera/camera_main.c
+++ b/examples/camera/camera_main.c
@@ -758,7 +758,7 @@ exit_this_app:
   free_buffer(buffers_still, STILL_BUFNUM);
 
 exit_without_cleaning_buffer:
-  video_uninitialize();
+  video_uninitialize("/dev/video");
 
 exit_without_cleaning_videodriver:
 #ifdef CONFIG_EXAMPLES_CAMERA_OUTPUT_LCD