codecs: h264decoder: Reset frame number per MMCO type 5

It should be cleared so that avoid wrong frame gap detection
for following pictures.

Passing 4 more conformance bitstream tests
* MR2_TANDBERG_E
* MR3_TANDBERG_B
* MR4_TANDBERG_C
* MR5_TANDBERG_C

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1768>
This commit is contained in:
Seungha Yang 2020-11-05 19:30:35 +09:00 committed by GStreamer Merge Bot
parent e78dc91f9e
commit 81151145b2

View file

@ -811,6 +811,7 @@ gst_h264_dpb_perform_memory_management_control_operation (GstH264Dpb * dpb,
other->long_term = FALSE;
}
picture->mem_mgmt_5 = TRUE;
picture->frame_num = 0;
break;
case 6:
/* 8.2.5.4.6 Replace long term reference pictures with current picture.