diff options
author | wm4 <wm4@nowhere> | 2015-07-08 15:24:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-08 15:24:34 +0200 |
commit | 9aadc0199f39f4fe608a85864fe37d96b1a24a76 (patch) | |
tree | f0193d9e83778a454d8a234921922eb71411f612 /player | |
parent | ef7278b4fd53d870470705d2314f1ec5c79b4333 (diff) | |
download | mpv-9aadc0199f39f4fe608a85864fe37d96b1a24a76.tar.bz2 mpv-9aadc0199f39f4fe608a85864fe37d96b1a24a76.tar.xz |
command: allow changing deinterlace property any time
Don't require video decoding to be active.
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index e961a79866..9e6063ff85 100644 --- a/player/command.c +++ b/player/command.c @@ -2165,7 +2165,7 @@ static int mp_property_deinterlace(void *ctx, struct m_property *prop, { MPContext *mpctx = ctx; if (!mpctx->d_video || !mpctx->d_video->vfilter) - return M_PROPERTY_UNAVAILABLE; + return mp_property_generic_option(mpctx, prop, action, arg); switch (action) { case M_PROPERTY_GET: *(int *)arg = get_deinterlacing(mpctx) > 0; |