mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
encoder: h264: Fix Backward ReferencePicture flag setting
This is a regression introduced by e829b62 which override the reference flags and caused issues with latest intel-vaapi-driver.
This commit is contained in:
parent
834557d5b6
commit
be990f5ed4
1 changed files with 2 additions and 1 deletions
|
@ -2027,7 +2027,8 @@ add_slice_headers (GstVaapiEncoderH264 * encoder, GstVaapiEncPicture * picture,
|
|||
reflist_1[i_ref]->poc;
|
||||
slice_param->RefPicList1[i_ref].flags |=
|
||||
VA_PICTURE_H264_SHORT_TERM_REFERENCE;
|
||||
slice_param->RefPicList1[i_ref].flags |= reflist_1[i_ref]->frame_num;
|
||||
slice_param->RefPicList1[i_ref].frame_idx |=
|
||||
reflist_1[i_ref]->frame_num;
|
||||
}
|
||||
g_assert (i_ref == 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue