Opened 8 years ago

Closed 4 years ago

#9151 closed Patch - Bug Fix (Unverified)

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 (1)

9151-v1.patch (714 bytes) - added by danielk 8 years ago.
Initial patch

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by danielk

Attachment: 9151-v1.patch added

Initial patch

comment:1 Changed 8 years ago by danielk

Status: newaccepted
Type: defectpatch
Version: UnspecifiedTrunk Head

comment:2 Changed 8 years ago by danielk

Milestone: 0.240.25

comment:3 Changed 7 years ago by danielk

Milestone: 0.250.26

comment:4 Changed 7 years ago by stuartm

Type: patchPatch - Bug Fix

comment:5 Changed 7 years ago by danielk

Milestone: 0.26unknown

comment:6 Changed 4 years ago by paulh

Resolution: Unverified
Status: acceptedclosed

Four year old ticket likely fixed by one of the ffmpeg syncs since then.

Note: See TracTickets for help on using tickets.