vaapipostproc: before set surface proxy, check if it already been created and exist.
authorWangfei <fei.w.wang@intel.com>
Tue, 15 Jan 2019 06:33:11 +0000 (14:33 +0800)
committerWangfei <fei.w.wang@intel.com>
Tue, 15 Jan 2019 06:48:19 +0000 (14:48 +0800)
commit98c32df8308296ffe480f22f880b302ce234f0de
tree7d4d2404dd9e1341ffa9724d939f895876daf310
parent14587eb8e86c44a0cacc6c1da99ab9ab15290247
vaapipostproc: before set surface proxy, check if it already been created and exist.

Fix the deinterlace black frame when playing with glimagesink:
gst-launch-1.0 filesrc location=test.264 ! h264parse ! vaapih264dec \
! vaapipostproc deinterlace-mode=1 deinterlace-method=1 ! glimagesink
gst/vaapi/gstvaapipostproc.c