vaapi_encode: Destroy output buffer pool before VA context
authorMark Thompson <sw@jkqxz.net>
Sun, 17 Dec 2017 19:48:35 +0000 (19:48 +0000)
committerMark Thompson <sw@jkqxz.net>
Tue, 20 Feb 2018 22:04:12 +0000 (22:04 +0000)
commit216c44dfc17252ec0681dcb0bbeeb45a9d14eca7
tree2190a75db8a96e5c4887d5bf4fd5fd6ac7005740
parentc8e135ea9225137050a6315fd9ba9c0f242c90b6
vaapi_encode: Destroy output buffer pool before VA context

The buffers are created associated with the context, so they should be
destroyed before the context is.  This is enforced by the iHD driver.
libavcodec/vaapi_encode.c