Opened 20 years ago
Closed 20 years ago
Last modified 18 years ago
#68 closed defect (fixed)
Frontend seeking doesn't work with large files (2.5G+)
Reported by: | 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.
[Patch] Fix truncated seeking