Opened 13 years ago
Closed 13 years ago
#11572 closed Patch - Bug Fix (fixed)
Seeking backwards on DVDs sometimes seeks forwards
| Reported by: | Owned by: | stuartm | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.27 |
| Component: | MythTV - DVD Playback | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Trying to seek backwards on some DVDs actually causes a jump forwards. This is caused by dvdnav_absolute_time_search assuming that NAV packets will be equally spaced. If they're not, the calculated sector will be wrong and actually be ahead of the current sector.
There is already a mechanism in place to compare the playback position after a jump with the required position but this didn't work correctly when seeking backwards due to type issues.
The attached patch fixes the type issues and allows the code to keep on zeroing in on the desired position until we're within a second of it (usually only takes a single iteration).
Attachments (1)
Change History (4)
by , 13 years ago
| Attachment: | 0001-Fixed-seeking-issues-on-some-DVDs-where-for-example-.patch added |
|---|
comment:1 by , 13 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 13 years ago
| Milestone: | unknown → 0.27 |
|---|---|
| Version: | Unspecified → Master Head |
comment:3 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |

In cb56a7e4ece6aa05fabbbc73ee6684043a270a89/mythtv: