va: decoder: render picture only if data
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 19 Sep 2020 12:08:46 +0000 (14:08 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 19 Sep 2020 12:32:13 +0000 (14:32 +0200)
commit467618f8ac51aa7c17aec9797700fd6cc36fe518
tree805d47d8f1ebea6b49a978a31097c5b72fa3ea0d
parentad019a1d0135320ebae9fca7214fbef0634ed3c6
va: decoder: render picture only if data

Call vaRenderPicture() only if buffer or slice data is available.

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