[mythtv-commits] Ticket #6656: Frontend uses 100% CPU when paused

MythTV mythtv at cvs.mythtv.org
Fri Jun 26 19:33:27 UTC 2009


#6656: Frontend uses 100% CPU when paused
-------------------------------------+--------------------------------------
 Reporter:  anonymous                |        Owner:  ijr           
     Type:  defect                   |       Status:  infoneeded_new
 Priority:  minor                    |    Milestone:  0.22          
Component:  MythTV - Video Playback  |      Version:  head          
 Severity:  medium                   |   Resolution:                
  Mlocked:  0                        |  
-------------------------------------+--------------------------------------

Comment(by anonymous):

 Thanks for checking.  I tried again with -v all, and there's tons of logs,
 but as you suspected, everything stops during the pause.

 But... I went looking at the code and found this:

 NuppelVideoPlayer.cpp:
 3695:         if (paused)
 ...
 3732:                 //printf("startplaying waiting for unpause\n");
 3733:                 usleep(500);

 Things improve if I set it to usleep(1000) - i.e. 1ms.  Is there a reason
 this sleep interval is so short?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6656#comment:4>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list