vaapivideocontext: check if query context is NULL
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 24 Jun 2016 10:05:24 +0000 (12:05 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 24 Jun 2016 10:24:55 +0000 (12:24 +0200)
commit80c439683091dfabc346af0b521e626a945a3d4d
tree38294a4a7fd1efe3b88167dd661f5ae0e03fcdcb
parent60cd511fada1c19e4bd0111685cf8580e272d2cf
vaapivideocontext: check if query context is NULL

Under certain conditions the element might receive a positive context query
but without a context instance. This situation will lead to a segmentation
fault when traversing the context list in the pipeline.

https://bugzilla.gnome.org/show_bug.cgi?id=767946
gst/vaapi/gstvaapivideocontext.c