From 72fcdc32dba2e9fa88b58ca7a4fbe156f4e5c2c5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 1 Apr 2015 01:01:15 +0200 Subject: command: remove unused function --- player/command.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'player/command.c') diff --git a/player/command.c b/player/command.c index 4b4b7ed680..779a5dd0ec 100644 --- a/player/command.c +++ b/player/command.c @@ -2158,20 +2158,6 @@ static int mp_property_deinterlace(void *ctx, struct m_property *prop, return M_PROPERTY_NOT_IMPLEMENTED; } -// Generic option + requires hard refresh to make changes take effect. -static int video_refresh_property_helper(struct m_property *prop, int action, - void *arg, MPContext *mpctx) -{ - int r = mp_property_generic_option(mpctx, prop, action, arg); - if (action == M_PROPERTY_SET) { - if (mpctx->d_video) { - reinit_video_filters(mpctx); - mp_force_video_refresh(mpctx); - } - } - return r; -} - static int video_simple_refresh_property(void *ctx, struct m_property *prop, int action, void *arg) { -- cgit v1.2.3