summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-01 01:01:15 +0200
committerwm4 <wm4@nowhere>2015-04-01 01:01:15 +0200
commit72fcdc32dba2e9fa88b58ca7a4fbe156f4e5c2c5 (patch)
treeeb7574efc69cddc2eea971ac5eaf190d20edbef2 /player/command.c
parent502f9a1450417a383ea95a98b1cd868932976815 (diff)
downloadmpv-72fcdc32dba2e9fa88b58ca7a4fbe156f4e5c2c5.tar.bz2
mpv-72fcdc32dba2e9fa88b58ca7a4fbe156f4e5c2c5.tar.xz
command: remove unused function
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c14
1 files changed, 0 insertions, 14 deletions
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)
{