summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-03 03:37:05 +0100
committerwm4 <wm4@nowhere>2015-01-03 03:37:05 +0100
commitbfac1e81a66fff8445022695001f2e8ea56ee0b5 (patch)
tree4f2e482188b46fcd28c65708c0cf409db9442002 /video/filter/vf.h
parent74be52b4ab8a2bfe3e99fddeba5b742524858f2e (diff)
downloadmpv-bfac1e81a66fff8445022695001f2e8ea56ee0b5.tar.bz2
mpv-bfac1e81a66fff8445022695001f2e8ea56ee0b5.tar.xz
vf_vapoursynth: pass through container FPS value
This is basically a hack; but apparently a needed one, since many vapoursynth filters insist on having a FPS set. We need to apply the FPS override before creating the filters. Also change some terminal output related to the FPS value.
Diffstat (limited to 'video/filter/vf.h')
-rw-r--r--video/filter/vf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/filter/vf.h b/video/filter/vf.h
index 4ff8398229..37ad4ca29c 100644
--- a/video/filter/vf.h
+++ b/video/filter/vf.h
@@ -123,6 +123,8 @@ struct vf_chain {
struct mp_image_params output_params;
uint8_t allowed_output_formats[IMGFMT_END - IMGFMT_START];
+ double container_fps;
+
struct mp_log *log;
struct MPOpts *opts;
struct mpv_global *global;