codecs: h264dec: Add a compliance property to control behavior.
authorHe Junyan <junyan.he@intel.com>
Mon, 26 Jul 2021 08:09:19 +0000 (16:09 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 13 Sep 2021 06:37:28 +0000 (06:37 +0000)
commit3c975ed918808d7d38b1b7a045f679c15b088262
treefc6baa3a271bc4f534b642665d783b6cf4c71559
parenta61d038cb67c9384d06da7a7d5e669f3e10ee31a
codecs: h264dec: Add a compliance property to control behavior.

Some features such as the low-latency DPB bumping and mapping the
baseline profile as the constrained-baseline profile do not conform
to the H264 offical spec. But in practice, they are very useful and
are widely needed. We add this compliance property to control the
behavior of the decoder, make it fit more requirement.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2432>
gst-libs/gst/codecs/gsth264decoder.c
gst-libs/gst/codecs/gsth264decoder.h