From 1dc760f9113169f4345c452526a0f4a7909166ec Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 25 Jun 2014 17:41:16 +0200 Subject: command: fix tv-channel property Now it's at least actually relayed to the TV code. I didn't/couldn't test whether it actually works, though. --- player/command.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/player/command.c b/player/command.c index af82a775da..6538d5e2bb 100644 --- a/player/command.c +++ b/player/command.c @@ -2349,6 +2349,9 @@ static int mp_property_tv_channel(void *ctx, struct m_property *prop, int action, void *arg) { switch (action) { + case M_PROPERTY_GET_TYPE: + *(struct m_option *)arg = (struct m_option){.type = CONF_TYPE_STRING}; + return M_PROPERTY_OK; case M_PROPERTY_SET: return prop_stream_ctrl(ctx, STREAM_CTRL_TV_SET_CHAN, *(char **)arg); case M_PROPERTY_SWITCH: { -- cgit v1.2.3