mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
e78dc91f9e
commit
81151145b2
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue