mirror of https://code.videolan.org/videolan/vlc
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:
parent
3dcb9bf8d8
commit
a66d2a3a8f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue