From 1ebb15222138126de3ca4944b5156dd56afb7f59 Mon Sep 17 00:00:00 2001 From: hehaoyang Date: Sat, 24 Feb 2024 18:44:58 +0000 Subject: [PATCH] =?UTF-8?q?camera=E5=91=BD=E4=BB=A4=E6=9C=89=E6=94=B9?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- external/rk_pcba_3568/pcba_minui/camera_test.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/external/rk_pcba_3568/pcba_minui/camera_test.h b/external/rk_pcba_3568/pcba_minui/camera_test.h index be44998628..234ca41309 100755 --- a/external/rk_pcba_3568/pcba_minui/camera_test.h +++ b/external/rk_pcba_3568/pcba_minui/camera_test.h @@ -3,9 +3,9 @@ //extern int tiles_count; -#define FCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 -e v4l2src device=/dev/video15 ! video/x-raw, width=640, height=480, format=NV12, framerate=30/1 ! decodebin ! videoconvert ! autovideosink" - -#define BCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 -e v4l2src device=/dev/video6 ! video/x-raw, width=640, height=480, format=NV12, framerate=30/1 ! decodebin ! videoconvert ! autovideosink" +#define FCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 v4l2src device=/dev/video15 ! 'video/x-raw,width=640,height=480' ! videoconvert ! waylandsink" + +#define BCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 v4l2src device=/dev/video5 ! 'video/x-raw,width=640,height=480' ! videoconvert ! waylandsink" //void cameraTest_key_detect(unsigned int code); void * camera_test(void *argc); void *camera_back_test(void *argv);