summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-02-06 22:02:59 +0900
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-02-09 16:19:41 +0000
commitce8d7b83d575f4bc5bf9b0c3ffca3aedfd89b803 (patch)
tree69fdcb839f0a8f3897dc4b85a83f7fcc710283fd /sys
parent188e01ca4496bd1e14c7a9ee7b158b0a3860d4a7 (diff)
downloadgstreamer-plugins-bad-ce8d7b83d575f4bc5bf9b0c3ffca3aedfd89b803.tar.gz
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>
Diffstat (limited to 'sys')
-rw-r--r--sys/nvcodec/gstnvh265dec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/nvcodec/gstnvh265dec.c b/sys/nvcodec/gstnvh265dec.c
index bc308ccc2..db470442d 100644
--- a/sys/nvcodec/gstnvh265dec.c
+++ b/sys/nvcodec/gstnvh265dec.c
@@ -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 */