Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#68 closed defect (fixed)

Frontend seeking doesn't work with large files (2.5G+)

Reported by: jbeuree@… Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: mythtv Version: 0.18.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When the bit rate for IVTV recorded programs is set high, the resulting files can cause remote frontends problems, especially when trying to seek. The problems typically begin once the playback is past the 2G or so mark.

The problem appears to be in the ivtvdecoder. One function, StepFrames?, is converting the frame counts to an int. This truncates both the location when trying to seek, as well as the count when trying to seek a huge amount (e.g. to get to that bookmark late in the recording).

A patch fixing this problem, essentially using "long long" instead of ints is attached.

Attachments (1)

decoder.diff (905 bytes) - added by jbeuree@… 14 years ago.
[Patch] Fix truncated seeking

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by jbeuree@…

Attachment: decoder.diff added

[Patch] Fix truncated seeking

comment:1 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [6786]) Patch from jbeuree (modified to work better) to fix seeking on large files with the ivtv decoder.

Fixes #68.

Note: See TracTickets for help on using tickets.