msdkvpp: check mfx surface nullity for the input buffer
authorJulien Isorce <jisorce@oblong.com>
Fri, 6 Dec 2019 05:19:13 +0000 (21:19 -0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 10 Dec 2019 03:00:13 +0000 (03:00 +0000)
commitb681d6f62e2c92f54374dc65b4b05112b2678824
treeb80289d55ed49827a81959df7713b46e50a6f871
parent8154b22a88a4b9bed71ddaab95e63cbebcf054b2
msdkvpp: check mfx surface nullity for the input buffer

In theory it should not happen but it happened to me
in some cases where it failed to allocate some video
buffers so this was a consequence of a corner case.
Better to be safe than sorry.
sys/msdk/gstmsdkvpp.c