summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-10 19:08:14 +0100
committerwm4 <wm4@nowhere>2013-12-10 20:07:39 +0100
commit5f0585177e58349a8a309037803ff99046a3ab27 (patch)
tree5ab014d1fa2fbfcb08557bd88cefc3129a5e84ef /video
parent9838bf55657c3944150afec44668c3c3b559c1ff (diff)
downloadmpv-5f0585177e58349a8a309037803ff99046a3ab27.tar.bz2
mpv-5f0585177e58349a8a309037803ff99046a3ab27.tar.xz
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.)
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_vo.c5
1 files changed, 0 insertions, 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)