Skip to content

Commit

Permalink
Fix conformance window, signal only in SPS
Browse files Browse the repository at this point in the history
  • Loading branch information
fador committed Jun 14, 2022
1 parent c8314d3 commit c71de0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoder_state-bitstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ static void encoder_state_write_bitstream_pic_parameter_set(bitstream_t* stream,
WRITE_UE(stream, encoder->in.width, "pic_width_in_luma_samples");
WRITE_UE(stream, encoder->in.height, "pic_height_in_luma_samples");

bool use_conformance_window = encoder->in.width != encoder->in.real_width || encoder->in.height != encoder->in.real_height;
bool use_conformance_window = false; //Signalled only in SPS

WRITE_U(stream, use_conformance_window, 1, "conformance_window_flag");
if (use_conformance_window) {
Expand Down

0 comments on commit c71de0e

Please sign in to comment.