[mythtv-commits] Ticket #7978: Seektable built during recording is broken; fixed by rebuilding seektable
MythTV
mythtv at cvs.mythtv.org
Sun Oct 17 05:36:58 UTC 2010
#7978: Seektable built during recording is broken; fixed by rebuilding seektable
------------------------------------------------------------------------------+
Reporter: Ian Macdonald <ian@…> | Owner: beirdo
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Trunk Head
Severity: low | Resolution:
Keywords: recordedseek pvr-350 ivtv hauppauge duration length mythcommflag | Ticket locked: 1
------------------------------------------------------------------------------+
Comment (by beirdo):
(In [26839]) Prevent HandleKeyframe from attempting to put negative file
offsets into the
position map (and thus the recordedseek table in the db) as they get
crammed
into unsigned 64-bit numbers, giving extremely large offset values, which
are
incorrect.
Also, keep FindPSKeyFrame from trying to put in negative offsets. The
value of
(bufstart - bufptr) is always <= 0. The desired offset within the buffer
is
actually (bufptr - bufstart).
The combination of these two was found while investigating borked
seektables
on MPEG2-PS recordings.
Refs #7978
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7978#comment:19>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list