h264decoder: Update latency dynamically
authorSeungha Yang <seungha@centricular.com>
Wed, 13 Sep 2023 16:18:59 +0000 (01:18 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Sep 2023 09:55:47 +0000 (09:55 +0000)
commit0f18fe67be7ccca8586b3dbe043cea86036981d9
tree0830fc99d3501ee3a0020ac3e241b82cf8e9f72b
parentffa307e6147b8d99d22efd69948e27eb224d1ba2
h264decoder: Update latency dynamically

The actual number of reorder frames is unknown
unless frame reordering is disabled
(e.g., POC type 2 or constrained-* profiles).
Also derived maximum DPB size or max_num_reorder_frames in VUI
is not the upper bound of output delay.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2702
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5341>
subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth264decoder.c
subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth264picture.h