summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/command.c b/command.c
index d857837507..f967ef55d9 100644
--- a/command.c
+++ b/command.c
@@ -1943,8 +1943,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
tv_set_freq((tvi_handle_t *) (mpctx->demuxer->priv),
cmd->args[0].v.f * 16.0);
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_freq (mpctx->stream, ROUND (cmd->args[0].v.f));
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),
@@ -1958,8 +1957,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
tv_step_freq((tvi_handle_t *) (mpctx->demuxer->priv),
cmd->args[0].v.f * 16.0);
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_force_freq_step (mpctx->stream, ROUND (cmd->args[0].v.f));
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: f %d",
pvr_get_current_channelname (mpctx->stream),
@@ -1994,8 +1992,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
}
#ifdef HAVE_PVR
else if (mpctx->stream &&
- mpctx->stream->type == STREAMTYPE_PVR)
- {
+ mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_channel_step (mpctx->stream, cmd->args[0].v.i);
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),
@@ -2036,8 +2033,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
}
}
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_channel (mpctx->stream, cmd->args[0].v.s);
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),
@@ -2075,8 +2071,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
}
}
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_lastchannel (mpctx->stream);
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),