Fix incremental video playback when file is downloaded quickly
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
diff --git a/lib/growing_file.js b/lib/growing_file.js
|
||||
index a25d618..0ff7634 100644
|
||||
index a25d618c340fa1ceb5bd717af650e854267a463d..baa80798e3e544dbccb857b6acba53c39864c1e8 100644
|
||||
--- a/lib/growing_file.js
|
||||
+++ b/lib/growing_file.js
|
||||
@@ -69,11 +69,15 @@ GrowingFile.prototype._readUntilEof = function() {
|
||||
@@ -69,11 +69,16 @@ GrowingFile.prototype._readUntilEof = function() {
|
||||
|
||||
this._reading = true;
|
||||
|
||||
@@ -17,6 +17,7 @@ index a25d618..0ff7634 100644
|
||||
+ // @todo: Remove if this gets merged: https://github.com/joyent/node/pull/881
|
||||
+ end: Infinity
|
||||
+ });
|
||||
+ this.readable = true;
|
||||
+ } catch (error) {
|
||||
+ this._handleError(error);
|
||||
+ }
|
||||
|
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
@@ -54,7 +54,7 @@ patchedDependencies:
|
||||
hash: cfe393dc1cca8970377087e9555a285d1121f75d57223ddd872b1a8d3f8c909b
|
||||
path: patches/got+11.8.5.patch
|
||||
growing-file@0.1.3:
|
||||
hash: 98ffa9ef0b45bf0bc8bdc9f747adb92ade55c1f2935eb576197aadb483c215a0
|
||||
hash: 1bb085e3fda38f2983114beedc229acf8b0c539736fe73e2e8183dab2df074b4
|
||||
path: patches/growing-file+0.1.3.patch
|
||||
mac-screen-capture-permissions:
|
||||
hash: b8dc0573396f72c869190aa36e306030fdb778263076e9ba35bc3099ded2c6cc
|
||||
@@ -228,7 +228,7 @@ importers:
|
||||
version: 11.8.5(patch_hash=cfe393dc1cca8970377087e9555a285d1121f75d57223ddd872b1a8d3f8c909b)
|
||||
growing-file:
|
||||
specifier: 0.1.3
|
||||
version: 0.1.3(patch_hash=98ffa9ef0b45bf0bc8bdc9f747adb92ade55c1f2935eb576197aadb483c215a0)
|
||||
version: 0.1.3(patch_hash=1bb085e3fda38f2983114beedc229acf8b0c539736fe73e2e8183dab2df074b4)
|
||||
heic-convert:
|
||||
specifier: 2.1.0
|
||||
version: 2.1.0
|
||||
@@ -16186,7 +16186,7 @@ snapshots:
|
||||
|
||||
graphemer@1.4.0: {}
|
||||
|
||||
growing-file@0.1.3(patch_hash=98ffa9ef0b45bf0bc8bdc9f747adb92ade55c1f2935eb576197aadb483c215a0):
|
||||
growing-file@0.1.3(patch_hash=1bb085e3fda38f2983114beedc229acf8b0c539736fe73e2e8183dab2df074b4):
|
||||
dependencies:
|
||||
oop: 0.0.3
|
||||
|
||||
|
Reference in New Issue
Block a user