Mercurial > mplayer.hg
comparison mplayer.c @ 27634:9d0094f6cdf6
Since the pause loop now also runs commands, set mpctx->was_paused
before entering it for more consistency.
author | reimar |
---|---|
date | Thu, 25 Sep 2008 17:42:56 +0000 |
parents | 6a7cdd00599f |
children | 22bdd7ba8892 |
comparison
equal
deleted
inserted
replaced
27633:6a7cdd00599f | 27634:9d0094f6cdf6 |
---|---|
3831 //============================ Handle PAUSE =============================== | 3831 //============================ Handle PAUSE =============================== |
3832 | 3832 |
3833 current_module="pause"; | 3833 current_module="pause"; |
3834 | 3834 |
3835 if (mpctx->osd_function == OSD_PAUSE) { | 3835 if (mpctx->osd_function == OSD_PAUSE) { |
3836 mpctx->was_paused = 1; | |
3836 pause_loop(); | 3837 pause_loop(); |
3837 mpctx->was_paused = 1; | |
3838 } | 3838 } |
3839 | 3839 |
3840 // handle -sstep | 3840 // handle -sstep |
3841 if(step_sec>0) { | 3841 if(step_sec>0) { |
3842 mpctx->osd_function=OSD_FFW; | 3842 mpctx->osd_function=OSD_FFW; |