mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
mpeg: fix picture used to determine backward_reference_vop_coding_type.
Complete fix brought by bf9f77b1af
but Gwenole did not apply all the bits.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
c40c05dc45
commit
0fe727ba77
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ fill_picture(GstVaapiDecoderMpeg4 *decoder, GstVaapiPicture *picture)
|
|||
case GST_MPEG4_B_VOP:
|
||||
pic_param->TRB = priv->trb;
|
||||
pic_param->backward_reference_picture = priv->next_picture->surface_id;
|
||||
pic_param->vop_fields.bits.backward_reference_vop_coding_type = get_vop_coding_type(priv->prev_picture);
|
||||
pic_param->vop_fields.bits.backward_reference_vop_coding_type = get_vop_coding_type(priv->next_picture);
|
||||
// fall-through
|
||||
case GST_MPEG4_P_VOP:
|
||||
pic_param->TRD = priv->trd;
|
||||
|
|
Loading…
Reference in a new issue