From 4ae6b780b3134b3dc3591a1581e4f6648a50ecf8 Mon Sep 17 00:00:00 2001 From: siivonek Date: Thu, 18 Aug 2022 15:55:23 +0300 Subject: [PATCH] [isp] Write isp config bit to sps. --- src/encoder_state-bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoder_state-bitstream.c b/src/encoder_state-bitstream.c index 3ef5c64e..1cff5f05 100644 --- a/src/encoder_state-bitstream.c +++ b/src/encoder_state-bitstream.c @@ -666,7 +666,7 @@ static void encoder_state_write_bitstream_seq_parameter_set(bitstream_t* stream, WRITE_UE(stream, encoder->cfg.log2_parallel_merge_level-2, "log2_parallel_merge_level_minus2"); - WRITE_U(stream, 0, 1, "sps_isp_enabled_flag"); + WRITE_U(stream, encoder->cfg.isp, 1, "sps_isp_enabled_flag"); if (state->encoder_control->cfg.mrl) { WRITE_U(stream, 1, 1, "sps_mrl_enabled_flag");