From 5262a8ecde0da32545e4b657f61bb54dd1cf9ecf Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 13 Nov 2024 16:27:39 +0900 Subject: [PATCH] merge --- .../AP_Scripting/examples/set_VIDEO_STREAM_INFORMATION.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Scripting/examples/set_VIDEO_STREAM_INFORMATION.lua b/libraries/AP_Scripting/examples/set_VIDEO_STREAM_INFORMATION.lua index c24cbe5c78c130..4ef183483d0f0b 100644 --- a/libraries/AP_Scripting/examples/set_VIDEO_STREAM_INFORMATION.lua +++ b/libraries/AP_Scripting/examples/set_VIDEO_STREAM_INFORMATION.lua @@ -115,7 +115,7 @@ function set_video_stream_information() stream_info:bitrate(CAM1_BITRATE:get()) stream_info:rotation(0) -- video image rotation clockwise, hardcoded to zero stream_info:hfov(CAM1_HFOV:get()) - stream_info:encoding(CAM1_STREAM_ENC:get()) + --stream_info:encoding(CAM1_STREAM_ENC:get()) for i = 0, #name do stream_info:name(i, name:byte(i+1)) @@ -128,6 +128,6 @@ function set_video_stream_information() end -- print welcome message -gcs:send_text(MAV_SEVERITY.INFO, "Loaded set_VIDEO_STREAM_INFOMRATION.lua") +gcs:send_text(MAV_SEVERITY.INFO, "Loaded set_VIDEO_STREAM_INFORMATION.lua") return set_video_stream_information()