Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not clear entire buffer when seeking to 0 #3706

Merged
merged 2 commits into from
Jul 19, 2021

Conversation

lkinasiewicz
Copy link
Contributor

@lkinasiewicz lkinasiewicz commented Jul 15, 2021

This fixes issue #3705.

Changes proposed in this PR are the safest way to not make any regression. I'm not sure it this function is supposed to support strings such as '10' or not. If not - then I'd rather change this conditional to:

if (typeof seekTime !== 'number' || isNaN(seekTime)) {

@dsilhavy dsilhavy added this to the 4.0.1 milestone Jul 15, 2021
@dsilhavy dsilhavy merged commit 7ddda30 into Dash-Industry-Forum:development Jul 19, 2021
@dsilhavy dsilhavy mentioned this pull request Jul 19, 2021
5 tasks
@lkinasiewicz lkinasiewicz deleted the fix/seek-0 branch July 19, 2021 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants