codecs: h265decoder: Make GstVideoCodecFrame hold the last reference of the buffer
authorSeungha Yang <seungha@centricular.com>
Mon, 2 Nov 2020 16:53:15 +0000 (01:53 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 2 Nov 2020 20:20:56 +0000 (20:20 +0000)
commitdb10288382120304c2374004975c6b42b47390a9
treeb6ab9da5fc6bdc09fa8e55251b5e7a8c1f5de973
parentb69840711ee8e3da7abfb33c4c8bac32fbacff21
codecs: h265decoder: Make GstVideoCodecFrame hold the last reference of the buffer

The functionality of passing the last reference of GstH265Picture
was silently dropped by the commit eeffd91109a409063e866337452eedd392649775
This commit will make it work again.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1755>
gst-libs/gst/codecs/gsth265decoder.c
gst-libs/gst/codecs/gsth265picture.c
gst-libs/gst/codecs/gsth265picture.h