Actually follow user's choice for broadcasting encoder support when first connecting with headless mode
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "logging.h"
|
||||
#include "nvhttp.h"
|
||||
#include "rtsp.h"
|
||||
#include "video.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include "platform/common.h"
|
||||
@@ -1231,6 +1232,9 @@ namespace config {
|
||||
std::cout << "Warning: Unrecognized configurable option ["sv << var << ']' << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
::video::active_hevc_mode = video.hevc_mode;
|
||||
::video::active_av1_mode = video.av1_mode;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -970,7 +970,11 @@ namespace video {
|
||||
int active_hevc_mode;
|
||||
int active_av1_mode;
|
||||
bool last_encoder_probe_supported_ref_frames_invalidation = false;
|
||||
std::array<bool, 3> last_encoder_probe_supported_yuv444_for_codec = {};
|
||||
std::array<bool, 3> last_encoder_probe_supported_yuv444_for_codec = {
|
||||
true,
|
||||
true,
|
||||
true
|
||||
};
|
||||
|
||||
void
|
||||
reset_display(std::shared_ptr<platf::display_t> &disp, const platf::mem_type_e &type, const std::string &display_name, const config_t &config) {
|
||||
|
||||
Reference in New Issue
Block a user