libs: pixmap: Fix a pixmap creation crash.
authorHe Junyan <junyan.he@hotmail.com>
Sat, 28 Dec 2019 17:13:29 +0000 (01:13 +0800)
committerHe Junyan <junyan.he@hotmail.com>
Sat, 28 Dec 2019 18:00:51 +0000 (02:00 +0800)
commitc05ce4481540cb74ca6e126f5d16a24d3fcb4732
tree8b18bc9b7ab8fd03c97dd56d6a3e35af418cf99e
parent3355cd46917bc092f5f237b8154749cfff5c68b6
libs: pixmap: Fix a pixmap creation crash.

We use GST_VAAPI_OBJECT_NATIVE_DISPLAY with wrong parameter for x11
pixmap creation, which causes crash if we run the internal test case
of:

test-decode --pixmap
gst-libs/gst/vaapi/gstvaapipixmap_x11.c