d3d11_deinterlace: flush the history when closing the filter

There is no guarantee it has been called before.
The software implementations also does the same.
This commit is contained in:
Steve Lhomme 2020-10-13 13:01:36 +02:00
parent 3dcb9bf8d8
commit a66d2a3a8f
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ picture_t *AllocPicture( filter_t *p_filter )
static void D3D11CloseDeinterlace(filter_t *filter)
{
filter_sys_t *sys = filter->p_sys;
Flush(filter);
D3D11_ReleaseProcessor( &sys->d3d_proc );
vlc_video_context_Release(filter->vctx_out);