libs: codecs: h264decoder: Assert output_picture virtual method.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 7 May 2021 14:02:04 +0000 (16:02 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 7 May 2021 20:20:59 +0000 (20:20 +0000)
commitda2772235199924e61cc588ceb81e6bc420f0adf
tree8c09db7f68f77088fd554e63c13cceb9e5e15361
parentc9a04ca979d004114f7df2ceb18bd74d1b191df8
libs: codecs: h264decoder: Assert output_picture virtual method.

For new code it's nice to assert if the derived class implemented the
output_picture virtual method. Otherwise a segmentation fault
occurs. All other decoders assert this method.

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