va: h264dec: set latency
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 8 Aug 2020 17:59:33 +0000 (19:59 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 17 Aug 2020 09:32:41 +0000 (09:32 +0000)
commit3aedef4c8601dcafb065d8095a927f1cd528056f
treeca83786a4b0e4a8284fdc49cb98e2b9a108cf960
parent76c171509e99f2511f8e3799a0e55fc53763aa5e
va: h264dec: set latency

The min latency is calculated with the maximum number of frames that
precede any frame, if available, and it is lower than the maximum
number of frames in DBP.

The max latency is calculated with the maxium size of frames in DBP.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1500>
sys/va/gstvah264dec.c