Closed
Bug 491410
Opened 17 years ago
Closed 16 years ago
Unsupported .wav formats cause "ABORT: Invalid state transition:" assertion failure.
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 481057
People
(Reporter: sylvain.pasche, Unassigned)
References
Details
Attachments
(1 file)
|
107.96 KB,
audio/x-wav
|
Details |
I noticed this when trying to open a .wav file from bug 491385 (dup of 475110).
The wave file in question is compressed PCM:
file 8kulaw.wav
8kulaw.wav: RIFF (little-endian) data, WAVE audio, ITU G.711 mu-law, mono 8000
Hz
Then you get:
WARNING: WAVE is not uncompressed PCM, compressed encodings are not supported: file mozilla/content/media/video/src/nsWaveDecoder.cpp, line 1019
###!!! ABORT: Invalid state transition: 'IsValidStateTransition(mState, aState)', file mozilla/content/media/video/src/nsWaveDecoder.cpp, line 819
In a non-debug build, the spinner keeps spinning. Ideally there should be some kind of UI notification when the .wav file is broken instead.
Comment 1•17 years ago
|
||
We need to fire decode errors for this case, but some of the code isn't implemented yet. There's a bug for doing so: bug 481057.
Comment 2•17 years ago
|
||
Once we fire these events, the UI should show the "broken file" icon, since it is already wired up to do this for the other types of media errors that can happen.
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•