From c821df1b73dd3b14d7d1bdd24826ec80faa019c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Charette?= Date: Wed, 11 Mar 2026 18:36:20 -0700 Subject: [PATCH] changes merged back after conflict resolved --- .editorconfig | 17 +++++++++++++++++ lib/App/common/kernelModuleEmbedVideo.cpp | 6 +++--- lib/App/common/kernelPrototype.cpp | 4 ++-- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..00eeae68 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +charset = utf-8 +indent_style = tab +indent_size = 4 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.py] +indent_style = space + diff --git a/lib/App/common/kernelModuleEmbedVideo.cpp b/lib/App/common/kernelModuleEmbedVideo.cpp index f70108c7..a9724d0c 100644 --- a/lib/App/common/kernelModuleEmbedVideo.cpp +++ b/lib/App/common/kernelModuleEmbedVideo.cpp @@ -3253,7 +3253,7 @@ bool streamHandler::initVideoOutput(){ m_pCodecACtx->max_b_frames = 5; /// Can be used by a P-frame(predictive, partial frame) to help define a future frame in a compressed video. - /// [use 3�5 ref per P] + /// [use 3?5 ref per P] m_pCodecACtx->refs = 3; /// Compression efficiency (slower -> better quality + higher cpu%) @@ -3333,7 +3333,7 @@ bool streamHandler::initVideoOutput(){ m_pCodecBCtx->max_b_frames = 5; /// Can be used by a P-frame(predictive, partial frame) to help define a future frame in a compressed video. - /// [use 3�5 ref per P] + /// [use 3?5 ref per P] m_pCodecBCtx->refs = 3; /// Compression efficiency (slower -> better quality + higher cpu%) @@ -3614,7 +3614,7 @@ bool streamHandler::initVideoOutput(){ m_pCodecCtx->max_b_frames = 5; /// Can be used by a P-frame(predictive, partial frame) to help define a future frame in a compressed video. - /// [use 3�5 ref per P] + /// [use 3?5 ref per P] m_pCodecCtx->refs = 3; /// Compression efficiency (slower -> better quality + higher cpu%) diff --git a/lib/App/common/kernelPrototype.cpp b/lib/App/common/kernelPrototype.cpp index 3a933cfe..16070aac 100644 --- a/lib/App/common/kernelPrototype.cpp +++ b/lib/App/common/kernelPrototype.cpp @@ -124,7 +124,7 @@ void kernelPrototype::WaitFinish( bool Force ){ kernelEventFilter *kernelPrototype::getFilter( uint32_t id ){ kernelEventFilter *RetVal = NULL; if( m_vTargetFilters.size() > 0 ) { - for( vectorKernelEventFilters::iterator idx = m_vTargetFilters.begin(); idx < m_vTargetFilters.end(); idx++ ){ + for( vectorKernelEventFilters::iterator idx = m_vTargetFilters.begin(); idx != m_vTargetFilters.end(); idx++ ){ if( (*idx)->getID() == id ) { RetVal = (*idx); break; @@ -136,4 +136,4 @@ kernelEventFilter *kernelPrototype::getFilter( uint32_t id ){ #endif #undef LOG -#undef LOG_ERROR \ No newline at end of file +#undef LOG_ERROR