Invalidate the cache after deleting a video file to ensure the free'd entry is removed.

Fixes #12052
(cherry picked from commit ffd38d1bba28aea710ad095c4e0844fe63381b38)