changeset 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
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Sep 25 17:40:33 2008 +0000
+++ b/mplayer.c	Thu Sep 25 17:42:56 2008 +0000
@@ -3833,8 +3833,8 @@
   current_module="pause";
 
   if (mpctx->osd_function == OSD_PAUSE) {
+      mpctx->was_paused = 1;
       pause_loop();
-      mpctx->was_paused = 1;
   }
 
 // handle -sstep