sys: va: GstVaMpeg2Dec: use slice sc_offset and size
authorDaniel Almeida <daniel.almeida@collabora.com>
Fri, 26 Mar 2021 18:52:21 +0000 (15:52 -0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 2 Nov 2021 16:16:29 +0000 (16:16 +0000)
commitf6e17ea2944f15e952183042ad34edfeb08229fe
treebcae8a01abe9cbdc7d73a5a5d8edbdc0ddbd23fc
parent946be1a85abc035a3adcb950cbdbc1f815ab57a5
sys: va: GstVaMpeg2Dec: use slice sc_offset and size

Seeing as how GstMpeg2Slice will now record the start code offset
as well as its size with the above field taken into account, the
manual computation in this class is not needed.

Remove it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
subprojects/gst-plugins-bad/sys/va/gstvampeg2dec.c