v4l2codecs: h264: Properly set pic_num/frame_num
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 24 Nov 2021 16:17:40 +0000 (11:17 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 30 Nov 2021 00:28:34 +0000 (00:28 +0000)
commit83933b77725e3708920c13bfe5101e52b2ba8661
tree9f1f235bc95a40e49b32a56808b82b77f963bac0
parentb5c07e11cad09731db2adef438603599f224e721
v4l2codecs: h264: Properly set pic_num/frame_num

The V4L2 uAPI uses pic_num for both PicNum and ShortTermPicNum. It also
doe the same for both FrameNum and LongTermFrameIdx. This change does
not change the fluster score, but fixed a visual corruption noticed
with some third party streams.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1387>
subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech264dec.c