From d4c198510f59953ffcdf86e6d60d41a488270804 Mon Sep 17 00:00:00 2001 From: Venu Reddy Date: Wed, 28 Jul 2021 18:16:49 +0530 Subject: [PATCH] Use h264 to save video file Signed-off-by: Venu Reddy --- .../innerkitsimpl/camera/test/src/camera_framework_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/innerkitsimpl/camera/test/src/camera_framework_test.cpp b/frameworks/innerkitsimpl/camera/test/src/camera_framework_test.cpp index fe43a0346..61d86cd98 100644 --- a/frameworks/innerkitsimpl/camera/test/src/camera_framework_test.cpp +++ b/frameworks/innerkitsimpl/camera/test/src/camera_framework_test.cpp @@ -134,7 +134,7 @@ static int32_t SaveVideoFile(const void* buffer, int32_t size, int32_t operation if (operationMode == 0) { char path[255] = {0}; system("mkdir -p /mnt/video"); - int32_t retlen = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/mnt/video/%s_%lld.h265", + int32_t retlen = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/mnt/video/%s_%lld.h264", "video", GetCurrentLocalTimeStamp()); if (retlen < 0) { MEDIA_ERR_LOG("Path Assignment failed"); -- Gitee