h264dec: Fix POC calculation for type 0
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 5 Nov 2020 23:09:06 +0000 (18:09 -0500)
committerSeungha Yang <seungha@centricular.com>
Tue, 17 Nov 2020 10:00:39 +0000 (19:00 +0900)
commit4ee616761678f1f76bc02cfdc5956cd04cbe3178
tree3e1370a199a16d9d3338144c45e9e49d1e3746bc
parent11509fded16c93e64c20c2fd6fe44f8100c56081
h264dec: Fix POC calculation for type 0

This is mostly for future use as it only fixes the caclulation for interlaced
cases, the case of frame seemed correct already.

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