h264decoder: Drop nonexisting picture silently without error
authorSeungha Yang <seungha@centricular.com>
Fri, 5 May 2023 19:14:49 +0000 (04:14 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 9 May 2023 23:19:39 +0000 (23:19 +0000)
commit43461432ec1af623d2b6f58693868023d9bf7288
treece94c55ff87d071a589cfb84e543557771dfebf0
parentb9f7ab60526af50fb2810e1bba19b0c511b9d52e
h264decoder: Drop nonexisting picture silently without error

If end_picture() was not successful, we do drop corresponding
GstVideoCodecFrame and therefore gst_video_decoder_get_frame()
will return nullptr which is expected behavior.

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