diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c index 470fcc7b0f..a76ae6cf3c 100644 --- a/player/command.c +++ b/player/command.c @@ -2978,7 +2978,6 @@ static int mp_property_dvb_channel(void *ctx, struct m_property *prop, int r; switch (action) { case M_PROPERTY_SET: - mpctx->last_dvb_step = 1; r = prop_stream_ctrl(mpctx, STREAM_CTRL_DVB_SET_CHANNEL, arg); if (r == M_PROPERTY_OK && !mpctx->stop_play) mpctx->stop_play = PT_RELOAD_FILE; @@ -2986,7 +2985,6 @@ static int mp_property_dvb_channel(void *ctx, struct m_property *prop, case M_PROPERTY_SWITCH: { struct m_property_switch_arg *sa = arg; int dir = sa->inc >= 0 ? 1 : -1; - mpctx->last_dvb_step = dir; r = prop_stream_ctrl(mpctx, STREAM_CTRL_DVB_STEP_CHANNEL, &dir); if (r == M_PROPERTY_OK && !mpctx->stop_play) mpctx->stop_play = PT_RELOAD_FILE; |