[mythtv-commits] Ticket #8873: Seeking regression in MPEG-TS following Ringbuffer optimizations

MythTV mythtv at cvs.mythtv.org
Wed Sep 8 16:57:07 UTC 2010


#8873: Seeking regression in MPEG-TS following Ringbuffer optimizations
------------------------------+---------------------------------------------
 Reporter:  robertm           |           Owner:  danielk   
     Type:  defect            |          Status:  closed    
 Priority:  major             |       Milestone:  0.24      
Component:  MythTV - General  |         Version:  Trunk Head
 Severity:  medium            |      Resolution:  fixed     
 Keywords:                    |   Ticket locked:  0         
------------------------------+---------------------------------------------
Changes (by danielk):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 (In [26173]) Fixes #8873. The seek to end optimization was using an int
 rather than a guaranteed 64-bit or larger type to check if the seek had
 succeeded, so it failed for all files larger than 2^31 when int was a 32
 bit type, files larger than 2^15 when int was a 16 bit type, etc. Also
 since the seeks done when doing an mpeg-ts seek don't match the pattern
 that this optimization is for, I've disabled this optimization when the
 offset from the end of the file is not exactly 250,000 bytes. So this
 optimization will only be triggered where we know it will do some good..

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8873#comment:2>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list