Skip to content

v4l2codecs: h264: Properly set pic_num/frame_num

Nicolas Dufresne requested to merge ndufresne/gstreamer:v4l2-h264-lt-fix into main

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.

Attaching the stream if anyone needs to reproduce.

pixelated_video_on_rk3399_20211009.h264

Edited by Nicolas Dufresne

Merge request reports