[mythtv-commits] Ticket #9151: ffmpeg seeking can cause playback exit
MythTV
mythtv at cvs.mythtv.org
Tue Oct 26 02:36:27 UTC 2010
#9151: ffmpeg seeking can cause playback exit
-----------------------------------------+----------------------------------
Reporter: danielk | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
-----------------------------------------+----------------------------------
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.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/9151>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list