codecs: h264: Change the low_latency to an enum for dpb_needs_bump().
authorHe Junyan <junyan.he@intel.com>
Wed, 28 Jul 2021 14:48:21 +0000 (22:48 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 13 Sep 2021 06:37:28 +0000 (06:37 +0000)
commit56269d127ff08c4648b168ec7b5a634b31efa4a2
tree726a87ea77a7cf72a5bdd48b85f734bf59b83651
parent3c975ed918808d7d38b1b7a045f679c15b088262
codecs: h264: Change the low_latency to an enum for dpb_needs_bump().

The bool parameter of low_latency is not enough. We have multi policies for
low latency bumping, from the safest to something radical. So we need an enum
to represent the proper latency requirement.

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