[xiph-commits] r15097 - trunk/oggPusher/firefox-extension/chrome/content

nithin at svn.xiph.org nithin at svn.xiph.org
Sat Jul 5 01:13:57 PDT 2008


Author: nithin
Date: 2008-07-05 01:13:56 -0700 (Sat, 05 Jul 2008)
New Revision: 15097

Modified:
   trunk/oggPusher/firefox-extension/chrome/content/op_Window.js
Log:
conversions updates still not functional

Modified: trunk/oggPusher/firefox-extension/chrome/content/op_Window.js
===================================================================
--- trunk/oggPusher/firefox-extension/chrome/content/op_Window.js	2008-07-05 00:58:30 UTC (rev 15096)
+++ trunk/oggPusher/firefox-extension/chrome/content/op_Window.js	2008-07-05 08:13:56 UTC (rev 15097)
@@ -41,9 +41,9 @@
 		}
 	 },
        	 processHandler:function(process){
-                if(process.exitValue!=0){
+                if(process.exitValue!= -1){
                         alert(process.exitValue+"Inside the processHandler");
-                        this.timer = setTimeout(function(){this.processHandler(process)},10000);
+                        this.timer = setTimeout( function(el) { return function(){el.processHandler(process);}}(this), 10000 );
                 }else{
                         alert("done with transcoding");
                 }
@@ -74,6 +74,7 @@
 			//alert("Pid "+process.pid+" exit value "+process.exitValue+" Location "+process.location+" processName "+process.processName);
 			//alert("After the process.run");
 			//this.timer = setTimeout( function(){this.processHandler(process);}, 10000 );
+			this.timer = setTimeout( function(el) { return function(){el.processHandler(process);}}(this), 10000 );
 			
 
 



More information about the commits mailing list