[mythtv-commits] Ticket #8812: RingBuffer has a number of thread safety issues

MythTV mythtv at cvs.mythtv.org
Wed Aug 25 19:46:22 UTC 2010


#8812: RingBuffer has a number of thread safety issues
------------------------------+---------------------------------------------
 Reporter:  danielk           |           Owner:  danielk   
     Type:  defect            |          Status:  assigned  
 Priority:  minor             |       Milestone:  0.24      
Component:  MythTV - General  |         Version:  Trunk Head
 Severity:  medium            |      Resolution:            
 Keywords:                    |   Ticket locked:  0         
------------------------------+---------------------------------------------

Comment (by danielk):

 The latest patch adds optimizations for seeks near our current position
 and seeks close to the end of the file. These are special cases for ffmpeg
 which at the start of playback makes several passes over the first 8Mbits
 of the file and then a pass over the last 2Mbit, and then finally seeks
 back to the beginning of the file and starts reading.

 This also adds a lot of debugging which will slow things down, including
 checksumming every block that ffmpeg reads. This has been done to assure
 correctness, this additional debugging will be removed later.

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


More information about the mythtv-commits mailing list