소스 검색

listen to 'warning' instead of 'error'

Gil Pedersen 12 년 전
부모
커밋
e9b55d670d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);
   }