[mythtv-commits] Ticket #9126: bogus seektables built for h.264 content

MythTV mythtv at cvs.mythtv.org
Thu Nov 4 06:07:54 UTC 2010


#9126: bogus seektables built for h.264 content
------------------------------+---------------------------------------------
 Reporter:  gigem             |           Owner:  beirdo    
     Type:  defect            |          Status:  closed    
 Priority:  minor             |       Milestone:  0.24      
Component:  MythTV - General  |         Version:  0.24-fixes
 Severity:  medium            |      Resolution:  Fixed     
 Keywords:                    |   Ticket locked:  0         
------------------------------+---------------------------------------------
Changes (by beirdo):

  * status:  accepted => closed
  * resolution:  => Fixed


Comment:

 (In [27098]) Fix the H.264 seektable rebuild.

 Turns out that the GetFrame() would return for both top and bottom field
 (in
 1080i) and the mythcommflagplayer would count each field as a frame, even
 though, internally, the seektable building had proper *frame* numbers.
 The fix
 was to propogate up correctly whether or not a new frame was found, and
 only
 count frames.

 As the saving to database is done in chunks, after the first chunk is
 saved,
 the mythcommflagplayer's view of where the second chunk started didn't
 match
 reality, so it very happily saved empty chunks of the map to the DB,
 resulting
 in a very short recording length being seen as only the first chunk made
 it to
 the db.

 This has been tested against HD-PVR generated H.264, and regression tested
 with
 MPEG2 recordings to make sure I didn't mess them up.

 Fixes #9126

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


More information about the mythtv-commits mailing list