From 6bacf890fba9184bc4e340184906d3f700b113ee Mon Sep 17 00:00:00 2001 From: killer069 <65385476+killer069@users.noreply.github.com> Date: Mon, 13 Dec 2021 13:08:41 +0530 Subject: [PATCH] Another small bug --- play-dl/YouTube/classes/SeekStream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play-dl/YouTube/classes/SeekStream.ts b/play-dl/YouTube/classes/SeekStream.ts index 7091381..23b469d 100644 --- a/play-dl/YouTube/classes/SeekStream.ts +++ b/play-dl/YouTube/classes/SeekStream.ts @@ -202,7 +202,7 @@ import { WebmSeeker, WebmSeekerState } from "./WebmSeeker"; stream.on('end', () => { if (end >= this.content_length) { this.timer.destroy(); - this.stream.push(null); + this.stream.write(null); this.cleanup(); } });