Mercurial > mplayer.hg
comparison mplayer.c @ 13768:955ad54a9aab
cmd can be NULL when leaving the paused mode and using the GUI
author | reimar |
---|---|
date | Tue, 26 Oct 2004 09:32:51 +0000 |
parents | 5a999bdc0534 |
children | 60c66b5aa2e1 |
comparison
equal
deleted
inserted
replaced
13767:b361eb0cc549 | 13768:955ad54a9aab |
---|---|
2504 if(vf_menu) | 2504 if(vf_menu) |
2505 vf_menu_pause_update(vf_menu); | 2505 vf_menu_pause_update(vf_menu); |
2506 #endif | 2506 #endif |
2507 usec_sleep(20000); | 2507 usec_sleep(20000); |
2508 } | 2508 } |
2509 if (cmd->id == MP_CMD_PAUSE) { | 2509 if (cmd && cmd->id == MP_CMD_PAUSE) { |
2510 cmd = mp_input_get_cmd(0,1,0); | 2510 cmd = mp_input_get_cmd(0,1,0); |
2511 mp_cmd_free(cmd); | 2511 mp_cmd_free(cmd); |
2512 } | 2512 } |
2513 osd_function=OSD_PLAY; | 2513 osd_function=OSD_PLAY; |
2514 if (audio_out && sh_audio) | 2514 if (audio_out && sh_audio) |