1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 22:02:59 +00:00

vf_vo: remove VO reset on filter uninit

I don't think this has any reason to exist. It's likely that this used
to be required by the old direct rendering infrastructure. (See
git blame output.)
This commit is contained in:
wm4 2013-12-10 19:08:14 +01:00
parent 9838bf5565
commit 5f0585177e

View File

@ -104,11 +104,6 @@ static int query_format(struct vf_instance *vf, unsigned int fmt)
static void uninit(struct vf_instance *vf)
{
if (vf->priv && video_out) {
/* Allow VO (which may live on to work with another instance of vf_vo)
* to get rid of numbered-mpi references that will now be invalid. */
vo_seek_reset(video_out);
}
}
static int vf_open(vf_instance_t *vf)