[mythtv-commits] Ticket #6583: Video frame buffering failed too many times

MythTV mythtv at cvs.mythtv.org
Tue Jun 2 00:39:57 UTC 2009


#6583: Video frame buffering failed too many times
-----------------------------------------------+----------------------------
 Reporter:  Wayne Gibson <gr8gib at hotmail.com>  |        Owner:  ijr    
     Type:  defect                             |       Status:  new    
 Priority:  minor                              |    Milestone:  0.22   
Component:  MythTV - Video Playback            |      Version:  unknown
 Severity:  medium                             |   Resolution:         
  Mlocked:  0                                  |  
-----------------------------------------------+----------------------------

Comment(by Wayne Gibson <gr8gib at hotmail.com>):

 I attached the patch you asked for. For the most part this code is in the
 HandleStateChange() function. The //ctx->recorder->StopLiveTV(); line was
 supposed to be commented out(something I tried but didn't work). Yes,
 there was supposed to be a closing bracket, sorry about that. The patch I
 attached is alot cleaner now then it would have been because I cleaned up
 my commented out tries before making this one. I have also now added to my
 fix because I found that when this code would hit, LiveTV would come back
 and play just fine, but I was not able to interact with it(e.g. change
 channels , change volume, etc) until the next successful program
 switch(usually top or bottom of the hour). So it was like LiveTV was
 playing but the livetvchain didn't know it was playing. So I added the
 ctx->UpdateTVChain(); line to my existing code and WOW! It works very well
 now. LiveTV comes back and continues playing and I can interact with it
 now. Not only that, but now the problem(whatever it is), is getting caught
 and fixed much quicker. It doesn't even do the prebuffer pause thing 10
 times now. I do see some new error messages in the frontend log that I
 have not seen before(mostly decoder errors I think) when this happens, but
 it seems to be able to recover from them. So I hope this helps. I did see
 that there have been some changesets made that may or may not pertain to
 this but I have not had the time to try any new revisions yet. I also saw
 that there was a change to the autoexpire code. I want to mention that at
 one point I thought that may be my problem. So I ran Myth with the
 -noautoexpire switch for a few days. That did not help the situation at
 all and in fact craeted a big mess for me to clean up. But I do agree with
 the change that was do so as not to hold anything else up while it fires.

 Thanks,
 Wayne Gibson

 P.S. The last little chunk of that patch is my own personal hack to turn
 off the TV after the sleep timer times out, so you can ignore that.

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


More information about the mythtv-commits mailing list