Skip to content

Add option to write constraint_set4_flag/constraint_set5_flag in the SPS

Derek Buitenhuis requested to merge dwbuiten/x264:constraints_opt into master

x264 briefly did this, starting with commit 92d36908, but that was reverted in f9af2a0f because it caused issues with some hardware decoders that assume those bits are always zero.

This re-adds writing those bits, but gated under an option, which is off by default, since sometimes we may actually want to write those bits properly.

Edited by Derek Buitenhuis

Merge request reports