hw: vaapi: chroma: don't keep fallback image
commit1258b357b82f4198ae53a6854e7092869c5eac00
authorThomas Guillem <thomas@gllm.fr>
Mon, 10 Jul 2017 13:53:02 +0000 (10 15:53 +0200)
committerThomas Guillem <thomas@gllm.fr>
Mon, 10 Jul 2017 14:01:26 +0000 (10 16:01 +0200)
tree456c538d459f8a482f2a30e29fe7f3ab40026e4c
parentfe6270d960c2e07e4dcba7b3c8bd87f79d43cdea
hw: vaapi: chroma: don't keep fallback image

Fix vlc_vaapi_DestroyImage() called on an invalid vadpy. Keep it simpler as
this case is the worst case scenario and shouldn't happen unless if forced by
the user.

PS: contrary to other vaapi filters, the download filter doesn't keep a ref on the
vadpy (except during pf_filter via src_pic).
modules/hw/vaapi/chroma.c