From 93317cafa42be246a043ebc89763a285507d30aa 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 832969fc..ba0d32f6 100644 --- a/src/encoder_state-bitstream.c +++ b/src/encoder_state-bitstream.c @@ -665,7 +665,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");