[mythtv-commits] Ticket #1826: consecutive recordings in mythtv-eit broken

MythTV mythtv at cvs.mythtv.org
Fri May 19 14:52:50 EDT 2006


#1826: consecutive recordings in mythtv-eit broken
--------------------------------------------+-------------------------------
 Reporter:  Janne <janne-mythtv at grunau.be>  |        Owner:  danielk
     Type:  patch                           |       Status:  new    
 Priority:  minor                           |    Milestone:  0.20   
Component:  dvb                             |      Version:  head   
 Severity:  medium                          |   Resolution:         
--------------------------------------------+-------------------------------
Comment (by Janne <janne-mythtv at grunau.be>):

 I don't know. But it seems indeed unlikely.

 I describe the error in more detail.

 TVRec::FinishedRecording is called twice. Once in TVRec::TuningShutdowns()
 (line 3259) and once in TeardownRecorder (line 977). TeardownRecorder is
 also called from TuningShutdowns. This is identical in trunk and mythtv-
 eit.

 In TeardownRecorder FinishedRecording is called with curRecording as
 argument. In mythtv-eit is curRecording at this time already the next
 recording. In trunk it is still the old one.

 Adding just a little delay before setting curRecording in StartRecording
 fixes this. A debug cerr is enough, I haven't seen the
 WaitingForEventThreadSleep() in StopRecording, so I thought it was
 missing.

 It seems that the thread synchronization is not correct. I can investigate
 further if you want.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1826>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list