Problem with videos without audio track
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firefogg |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If I try to encode a video file without audio track to the webm container format, the encoding doesn't start and the following error is reported by the error console:
uncaught exception: [Exception... "'[JavaScript Error: "info.audio[0] is undefined" {file: "resource:
I have found the reason(s) for this problem and could fix it by the following lines within the file "encoder.jsm":
l 319: if(info.audio && info.audio[0]) {
l 320: var sourceSamplerate = info.audio[
...
l 323: delete options.samplerate;
The most important change is to add && info.audio[0] at line 319. With this it should work.
Regards,
Beat
Changed in firefogg: | |
status: | Fix Committed → Fix Released |
thanks, will be fixed in next release