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

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

Change History

Changed 3 years ago by danielk

Initial patch

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

comment:2 Changed 3 years ago by danielk

  • Milestone changed from 0.24 to 0.25

comment:3 Changed 15 months ago by danielk

  • Milestone changed from 0.25 to 0.26

comment:4 Changed 15 months ago by stuartm

  • Type changed from patch to Patch - Bug Fix

comment:5 Changed 10 months ago by danielk

  • Milestone changed from 0.26 to unknown
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.