OSDN Git Service

LinGui: fix a build problem
[handbrake-jp/handbrake-jp-git.git] / gtk / src / hb-backend.c
index eca539e..c37006f 100644 (file)
@@ -4491,11 +4491,13 @@ ghb_pause_queue()
 
     if( s.state == HB_STATE_PAUSED )
     {
-        hb_resume( h_queue );
+               hb_status.queue.state &= ~GHB_STATE_PAUSED;
+               hb_resume( h_queue );
     }
     else
     {
-        hb_pause( h_queue );
+               hb_status.queue.state |= GHB_STATE_PAUSED;
+               hb_pause( h_queue );
     }
 }