summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-21 01:26:56 +0200
committerwm4 <wm4@nowhere>2014-04-21 02:57:17 +0200
commitba1380223a8d77a0cb62523d52bd855c5dc621b6 (patch)
tree72969b548681cda6af674516567e60a2d74fd65f /video/filter/vf.h
parent2a6c084e4c57f28b422a5c83e44e7297473fbb90 (diff)
downloadmpv-ba1380223a8d77a0cb62523d52bd855c5dc621b6.tar.bz2
mpv-ba1380223a8d77a0cb62523d52bd855c5dc621b6.tar.xz
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.
Diffstat (limited to 'video/filter/vf.h')
-rw-r--r--video/filter/vf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf.h b/video/filter/vf.h
index e186add4d0..d11c6de575 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;