From cf1d0b4f961cfbba3ea7cb090c3f8292f20073a7 Mon Sep 17 00:00:00 2001 From: Elia Zammuto Date: Tue, 26 Nov 2024 21:04:46 +0100 Subject: [PATCH] Fix typo and missing file --- src/rtsp.cpp | 2 +- src/video.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rtsp.cpp b/src/rtsp.cpp index b620b3f1..b94cd287 100644 --- a/src/rtsp.cpp +++ b/src/rtsp.cpp @@ -976,7 +976,7 @@ namespace rtsp_stream { args.try_emplace("x-ml-video.configuredBitrateKbps"sv, "0"sv); args.try_emplace("x-ss-general.encryptionEnabled"sv, "0"sv); args.try_emplace("x-ss-video[0].chromaSamplingType"sv, "0"sv); - args.try_emplace("x-nv-video[0].enableIntraRefresh"sv, "0"sv); + args.try_emplace("x-ss-video[0].intraRefresh"sv, "0"sv); stream::config_t config; diff --git a/src/video.h b/src/video.h index 1f397648..3d250c1f 100644 --- a/src/video.h +++ b/src/video.h @@ -38,6 +38,8 @@ namespace video { int dynamicRange; int chromaSamplingType; // 0 - 4:2:0, 1 - 4:4:4 + + int enableIntraRefresh; //0 - disabled, 1 - enabled }; platf::mem_type_e