Problem with videos without audio track

Bug #819391 reported by Beat Trachsler on 2011-08-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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: "[0] is undefined" {file: "resource://firefogg/encoder.jsm" line: 320}]' when calling method: [nsIFirefogg::encode]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: :: <TOP_LEVEL> :: line 165" data: yes]

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( &&[0]) {
l 320: var sourceSamplerate =[0].samplerate;
l 323: delete options.samplerate;
The most important change is to add &&[0] at line 319. With this it should work.



Beat Trachsler (beat-trachsler) wrote :
j^ (j) wrote :

thanks, will be fixed in next release

Changed in firefogg:
status: New → Fix Committed
j^ (j) on 2011-09-25
Changed in firefogg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers