From 9aadc0199f39f4fe608a85864fe37d96b1a24a76 Mon Sep 17 00:00:00 2001
From: wm4 <wm4@nowhere>
Date: Wed, 8 Jul 2015 15:24:34 +0200
Subject: [PATCH] command: allow changing deinterlace property any time

Don't require video decoding to be active.
---
 player/command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;