Closed
Bug 464066
Opened 18 years ago
Closed 17 years ago
Loading rheet.wav file from file: URL plays the file twice
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Waldo, Unassigned)
References
()
Details
1. Download the file at the URL.
2. Open the downloaded file in Minefield.
I expect it to only play once, but it plays twice. OS X 10.4 on a MacBook Pro with Intel built-in audio, Minefield with all patches through the 8-bit audio change, anything else you want in terms of information, let me know.
Comment 1•18 years ago
|
||
If autoplay is set and the load event fires before loadedmetadata, decoder playback begins in nsHTMLMediaElement::ChangeReadyState for the CAN_PLAY_THROUGH case, then a seek to 0 happens from nsHTMLMediaElement::MetadataLoaded (when loadedmetadata fires). This means that the seek can occur while the decoder is in playback state which means that, on completion of the seek, the decoder will return to playback state, resulting in the media playing twice.
Comment 2•17 years ago
|
||
This was fixed in bug 469598 by removing the seek(0) from MetadataLoaded.
You need to log in
before you can comment on or make changes to this bug.
Description
•