From 19a4e2f7c790048b7f77745bbe5b7f2138cd8609 Mon Sep 17 00:00:00 2001 From: consti10 Date: Fri, 24 Nov 2023 10:50:02 +0100 Subject: [PATCH] make mjpeg not visible to the user anymore --- app/telemetry/settings/documentedparam.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/telemetry/settings/documentedparam.cpp b/app/telemetry/settings/documentedparam.cpp index f4fb3fda1..3647d3ae7 100644 --- a/app/telemetry/settings/documentedparam.cpp +++ b/app/telemetry/settings/documentedparam.cpp @@ -265,7 +265,10 @@ static std::vector> get_parameters_list(){ ); } append_int(ret,"VIDEO_CODEC", - ImprovedIntSetting::createEnum( std::vector{"h264","h265","mjpeg"}), + //NOTE: MJPEG has been removed intentionally, since we are going to eventually remove support for it in + //favour of h264 + // ,"mjpeg" + ImprovedIntSetting::createEnum( std::vector{"h264","h265"}), "Video codec. If your camera/ground station does not support HW accelerated encoding/decoding of the selected codec,it'l default to SW encode/decode. " "A reboot (air&ground) is recommended after changing this parameter." );