Explorar el Código

listen to 'warning' instead of 'error'

Gil Pedersen hace 12 años
padre
commit
e9b55d670d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      bin/hlsdump

+ 2 - 2
bin/hlsdump

@@ -125,8 +125,8 @@ function hook(stream) {
     smooth.on('unpipe', function() {
       this.unpipe();
     });
-    smooth.on('error', function(err) {
-      console.error('smooth error', err);
+    smooth.on('warning', function(err) {
+      console.error('smoothing error', err);
     });
     s = s.pipe(smooth);
   }