diff options
author | Christian König <[email protected]> | 2015-12-13 11:44:13 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2016-01-18 10:59:32 +0100 |
commit | eaf7ec9cfc5165f461bddc365aaaf6cb25c2d9bd (patch) | |
tree | b7d02f9aa3ab35579186db776409826676ce6141 /src/gallium/state_trackers/va/context.c | |
parent | ad20be1f30ef5d11bcacef38a921cb778c504dd2 (diff) |
st/va: add motion adaptive deinterlacing v2
v2: minor cleanup
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/context.c')
-rw-r--r-- | src/gallium/state_trackers/va/context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c index 37a011799e2..b25c381d968 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -31,6 +31,7 @@ #include "util/u_memory.h" #include "util/u_handle_table.h" #include "util/u_video.h" +#include "vl/vl_deint_filter.h" #include "vl/vl_winsys.h" #include "va_private.h" @@ -296,6 +297,10 @@ vlVaDestroyContext(VADriverContextP ctx, VAContextID context_id) } context->decoder->destroy(context->decoder); } + if (context->deint) { + vl_deint_filter_cleanup(context->deint); + FREE(context->deint); + } FREE(context); handle_table_remove(drv->htab, context_id); pipe_mutex_unlock(drv->mutex); |