mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
nvh265sldec: Remove pointless field picture parameter setup
HEVC has no decoding flow for interlaced, field picture referencing. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2008>
This commit is contained in:
parent
188e01ca44
commit
ce8d7b83d5
1 changed files with 0 additions and 6 deletions
|
@ -721,12 +721,6 @@ gst_nv_h265_dec_start_picture (GstH265Decoder * decoder,
|
|||
params->PicWidthInMbs = sps->pic_width_in_luma_samples / 16;
|
||||
params->FrameHeightInMbs = sps->pic_height_in_luma_samples / 16;
|
||||
params->CurrPicIdx = frame->index;
|
||||
/* TODO: verifiy interlaced */
|
||||
params->field_pic_flag = picture->field != GST_H265_PICTURE_FIELD_FRAME;
|
||||
params->bottom_field_flag =
|
||||
picture->field == GST_H265_PICTURE_FIELD_BOTTOM_FIELD;
|
||||
/* TODO: set second_field here */
|
||||
params->second_field = 0;
|
||||
|
||||
/* nBitstreamDataLen, pBitstreamData, nNumSlices and pSliceDataOffsets
|
||||
* will be set later */
|
||||
|
|
Loading…
Reference in a new issue