From da17c64c760be519d48398f6b1425fba556e317e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 21 Apr 2014 01:26:56 +0200 Subject: vf: remove autoinserted filters on reconfig When using rotation with hw decoding, and the VO does not support rotation, vf_rotate is attempted to be inserted. This will go wrong, and after that it can't recover because a vf_scale filter was autoinserted. Just removing all autoinserted filters before reconfig fixes this. --- video/filter/vf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/filter/vf.h') diff --git a/video/filter/vf.h b/video/filter/vf.h index a65492134e..5e20febf60 100644 --- a/video/filter/vf.h +++ b/video/filter/vf.h @@ -75,6 +75,7 @@ typedef struct vf_instance { void (*uninit)(struct vf_instance *vf); char *label; + bool autoinserted; struct mp_image_params fmt_in, fmt_out; -- cgit v1.2.3