mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-07 09:59:55 +00:00
codecs: h264decoder: Fix MMCO type 1 for interlaced stream
If field_pic_flag of current picture is equal to zero, both field of reference field pair should be marked as "unused for reference" Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1810>
This commit is contained in:
parent
b83d452cc2
commit
fec686145e
1 changed files with 1 additions and 1 deletions
|
@ -836,7 +836,7 @@ gst_h264_dpb_perform_memory_management_control_operation (GstH264Dpb * dpb,
|
|||
other = gst_h264_dpb_get_short_ref_by_pic_num (dpb, pic_num_x);
|
||||
if (other) {
|
||||
gst_h264_picture_set_reference (other,
|
||||
GST_H264_PICTURE_REF_NONE, FALSE);
|
||||
GST_H264_PICTURE_REF_NONE, GST_H264_PICTURE_IS_FRAME (picture));
|
||||
GST_TRACE ("MMCO-1: unmark short-term ref picture %p, (poc %d)",
|
||||
other, other->pic_order_cnt);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue