Closed Bug 590829 Opened 15 years ago Closed 7 years ago

Avoid unnecessary seek in nestegg_track_seek

Categories

(Core :: Audio/Video: Playback, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: kinetik, Unassigned)

Details

When nestegg_track_seek loads the Cues section, it seeks to the location of the Cues, parses them, then seeks back to the parser's old location. It then uses the newly loaded Cues to seek to the requested point in time. There's no need to seek back the the saved parser location before seeking to the new point as it does not read from the stream between these two seeks. ctx_restore is responsibly for restoring the old seek point and is called after loading the Cues. This can be changed to only restore the old state when returning early due to an error. When seeking to the new location, the ctx_restore can be avoided.
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
Assignee: kinetik → nobody
Component: Audio/Video → Audio/Video: Playback
Mass closing do to inactivity. Feel free to re-open if still needed.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.