aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/js/watch.js
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2021-08-24 22:19:49 -0700
committerJesús <heckyel@hyperbola.info>2021-08-29 21:00:30 -0500
commitfa3b78583fe1d9325cfa43dcee63968f911a1cc4 (patch)
treeecffcef1eb9d2f86d913820c5f5dee594bb3e6d4 /youtube/static/js/watch.js
parentd942883c786e308d4f15f4edd0d62963789e0482 (diff)
downloadyt-local-fa3b78583fe1d9325cfa43dcee63968f911a1cc4.tar.lz
yt-local-fa3b78583fe1d9325cfa43dcee63968f911a1cc4.tar.xz
yt-local-fa3b78583fe1d9325cfa43dcee63968f911a1cc4.zip
avmerge: Close streams to avoid errors while changing quality
If a fetchRange network request finished after the quality was changed, there would be a "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" because appendSegment was trying to append to the sourceBuffer that was unusable after the video src was changed to a new mediaSource. Adds a close method to the AVMerge class to properly clean and close everything so these sorts of errors won't happen. Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/static/js/watch.js')
0 files changed, 0 insertions, 0 deletions