From 349067a6ab2d03024b3e984e80314f303dd14432 Mon Sep 17 00:00:00 2001 From: Julian Date: Mon, 9 Feb 2015 00:05:09 +0100 Subject: vf_vapoursynth: add display refresh rate property This value is not necessarily trustworthy (it might change) and can be 0. --- player/video.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 29dcb3b066..a13b2696ed 100644 --- a/player/video.c +++ b/player/video.c @@ -180,6 +180,8 @@ static void recreate_video_filters(struct MPContext *mpctx) d_video->vfilter->wakeup_callback = wakeup_playloop; d_video->vfilter->wakeup_callback_ctx = mpctx; d_video->vfilter->container_fps = d_video->fps; + vo_control(mpctx->video_out, VOCTRL_GET_DISPLAY_FPS, + &d_video->vfilter->display_fps); vf_append_filter_list(d_video->vfilter, opts->vf_settings); -- cgit v1.2.3