From 5f0585177e58349a8a309037803ff99046a3ab27 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 10 Dec 2013 19:08:14 +0100 Subject: 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.) --- video/filter/vf_vo.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/video/filter/vf_vo.c b/video/filter/vf_vo.c index 3655b72141..631ab558f1 100644 --- a/video/filter/vf_vo.c +++ b/video/filter/vf_vo.c @@ -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) -- cgit v1.2.3