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:
parent
9838bf5565
commit
5f0585177e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user