summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-25 21:47:43 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-25 22:48:18 +0300
commit4cb23ad350f566460d96bf24fcc1949d57a0701f (patch)
treefa75aa9e5e2fb2327ba8ec4b7c04c43447f533d0 /mplayer.c
parent1393793cd3a90b2ef7ca049dfc693692d3749d94 (diff)
downloadmpv-4cb23ad350f566460d96bf24fcc1949d57a0701f.tar.bz2
mpv-4cb23ad350f566460d96bf24fcc1949d57a0701f.tar.xz
input: remove unused "paused" arguments from some functions
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mplayer.c b/mplayer.c
index 4eec335b99..4f309ff6fb 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1051,7 +1051,7 @@ static void load_per_file_config (m_config_t* conf, const char *const file)
static int libmpdemux_was_interrupted(struct MPContext *mpctx, int stop_play)
{
mp_cmd_t* cmd;
- if((cmd = mp_input_get_cmd(mpctx->input, 0,0,0)) != NULL) {
+ if((cmd = mp_input_get_cmd(mpctx->input, 0, 0)) != NULL) {
switch(cmd->id) {
case MP_CMD_QUIT:
exit_player_with_rc(mpctx, EXIT_QUIT, (cmd->nargs > 0)? cmd->args[0].v.i : 0);
@@ -2573,10 +2573,10 @@ static void pause_loop(struct MPContext *mpctx)
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_PAUSED\n");
}
- while ( (cmd = mp_input_get_cmd(mpctx->input, 20, 1, 1)) == NULL
+ while ( (cmd = mp_input_get_cmd(mpctx->input, 20, 1)) == NULL
|| cmd->id == MP_CMD_SET_MOUSE_POS || cmd->pausing == 4) {
if (cmd) {
- cmd = mp_input_get_cmd(mpctx->input, 0,1,0);
+ cmd = mp_input_get_cmd(mpctx->input, 0, 0);
run_command(mpctx, cmd);
mp_cmd_free(cmd);
continue;
@@ -3397,7 +3397,7 @@ while (player_idle_mode && !mpctx->filename) {
mp_cmd_t * cmd;
if (mpctx->video_out && mpctx->video_out->config_ok)
vo_control(mpctx->video_out, VOCTRL_PAUSE, NULL);
- while (!(cmd = mp_input_get_cmd(mpctx->input, 0,1,0))) { // wait for command
+ while (!(cmd = mp_input_get_cmd(mpctx->input, 0, 0))) { // wait for command
if (mpctx->video_out)
vo_check_events(mpctx->video_out);
usec_sleep(20000);
@@ -4304,7 +4304,7 @@ if(auto_quality>0){
{
while (1) {
mp_cmd_t* cmd;
- while ((cmd = mp_input_get_cmd(mpctx->input, 0,0,0)) != NULL) {
+ while ((cmd = mp_input_get_cmd(mpctx->input, 0, 0)) != NULL) {
run_command(mpctx, cmd);
mp_cmd_free(cmd);
if (mpctx->stop_play)