va: utils: fix precondition check for handle_context_query()
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 4 Aug 2020 08:24:49 +0000 (10:24 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 4 Aug 2020 08:39:05 +0000 (10:39 +0200)
commitf332c35ec02979a344d24723956481e6620de8c4
tree828cc5f1219b61b211a9656fa0d4b756469b0988
parentd569f4f929225e8127251f1533aa9080b198c033
va: utils: fix precondition check for handle_context_query()

display paramater can be NULL, but if it's not, it has to be a
GstVaDisplay.

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