msdkdec: fix error handling in case of unsupported hardware
authorPeter Seiderer <ps.report@gmx.net>
Sat, 6 Apr 2019 19:44:35 +0000 (21:44 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 10 Apr 2019 15:54:31 +0000 (15:54 +0000)
commit670481bdeb7a48d2a9f155080052fafca1be863a
treef385a0c6dde6388f7bc5886b0db10014401414cc
parente766aaf2b1c228657bf14bdf06cb4bdb911aeae1
msdkdec: fix error handling in case of unsupported hardware

Check the return value of gst_msdk_context_ensure_context and
abort in case of failure.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/945
sys/msdk/gstmsdkdec.c