We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc826c4 + 27f79a5 commit 1266709Copy full SHA for 1266709
lib/ffprobe.js
@@ -158,7 +158,7 @@ module.exports = function(proto) {
158
// Skip errors on stdin. These get thrown when ffprobe is complete and
159
// there seems to be no way hook in and close stdin before it throws.
160
ffprobe.stdin.on('error', function(err) {
161
- if (['ECONNRESET', 'EPIPE'].indexOf(err.code) >= 0) { return; }
+ if (['ECONNRESET', 'EPIPE', 'EOF'].indexOf(err.code) >= 0) { return; }
162
handleCallback(err);
163
});
164
0 commit comments