avcodec/h264_metadata_bsf: Allow zeroing constraint_set4_flag and constraint_set5_flag
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 23 Jun 2021 16:12:43 +0000 (17:12 +0100)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 29 Jun 2021 14:31:06 +0000 (15:31 +0100)
commitd70dde2712bbead523004d8294ff1a0fdeab480b
tree4f69abe45cca715c9c3b8c58e17f31dea1b77e1e
parentb74beba9a9a317caa7ac973cb76cc6ab0ade7667
avcodec/h264_metadata_bsf: Allow zeroing constraint_set4_flag and constraint_set5_flag

These bits are reserved in earlier versions of the H.264 spec, and
some poor hardware decoders require they are zero. Thus, it is useful
to be able to zero these on streams that may have them set. The result
is still a valid H.264 bitstream.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
doc/bitstream_filters.texi
libavcodec/h264_metadata_bsf.c
libavcodec/version.h