Modify ↓
Ticket #9151 (accepted Patch - Bug Fix)
Opened 3 years ago
Last modified 10 months ago
ffmpeg seeking can cause playback exit
| Reported by: | danielk | Owned by: | danielk |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - Video Playback | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
When ffmpeg finds a timestamp near the start of a file that is greater than the timestamp it finds near the end of a file during a seek it fails to perform the seek. But it doesn't _just_ fail to perform the seek it also leaves the file pointer at the end of the file so on our next read we encounter an EOF condition.
I'm attaching a patch that handles this failure mode with rollback to the original read position, but ideally ffmpeg would handle this seek.
Attachments
Change History
Changed 3 years ago by danielk
- Attachment 9151-v1.patch added
comment:1 Changed 3 years ago by danielk
- Status changed from new to accepted
- Version changed from Unspecified to Trunk Head
- Type changed from defect to patch
Note: See
TracTickets for help on using
tickets.

Initial patch