Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8543 closed defect (fixed)

Audio fragment heard before bookmark seek

Reported by: stuartm Owned by: Janne Grunau
Priority: major Milestone: 0.24
Component: MythTV - Video Playback Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


Since the osd branch merge I reliably here the first few hundred ms of audio from the beginning of the recording before it then seeks to the bookmark position.

This can be a pretty intrusive and jarring glitch. Do we need to start decoding and sending audio before seeking to where we want to start? It seems like the wrong sequence of events and would make the time between playback startup and display of the correct frame slower?

Change History (2)

comment:1 Changed 11 years ago by markk

Resolution: fixed
Status: newclosed

(In [25054]) Pause the decoder until we have finished seeking for a saved bookmark.

This adds an option to start the decoder thread paused, uses it when there is a bookmark saved and then seeks to the bookmark before unpausing the decoder.

It's worth noting that Jean-Yves is looking to move the audio device creation out of AvFormatDecoder?, which would probably have negated the audio side effects, but the change is useful and valid regardless as it prevents unnecessary decoding before the seek.

Closes #8543

comment:2 Changed 11 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.