h265decoder: Do not abort when failed to prepare ref pic set
authorMarek Olejnik <molejnik@fluendo.com>
Thu, 1 Dec 2022 17:35:07 +0000 (19:35 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 7 Dec 2022 13:01:35 +0000 (13:01 +0000)
commit02359dd251330a7969cccb069b938e7a1726aa69
tree0d718a9a2b9ea6ff4e1b5fe78fd7e337e7a2f705
parenta2c7398a1c3a385a5f0a30c29b3cede69b2180bc
h265decoder: Do not abort when failed to prepare ref pic set

Currently the element calls abort when failed to prepare reference
picture set. This can happent when the input stream is somehow
corrupted, like a rtsp strem with lost packets. Now it will only
return with GST_FLOW_ERROR instead of terminating whole process.

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