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

Fix several issues related to seek bar for VR video playing #1021

Merged
merged 2 commits into from
Sep 28, 2023
Merged

Conversation

HollowMan6
Copy link
Collaborator

  • Don't pause video playing intentionally when seeking
    This is creating some race conditions and cause the seek to fail sometimes.

And there's no reason to pause in this case as well.

  • Fix to make video seeking bar show the correct time
    We should also considering the padding after we got the seekBar view bound

Before:

com.igalia.wolvic-20230927-181322.mp4

After:

com.igalia.wolvic-20230927-181529.mp4

This is creating some race conditions and cause the
seek to fail sometimes.

And there's no reason to pause in this case as well.

Signed-off-by: Songlin Jiang <sjiang@igalia.com>
We should also considering the padding after we
got the seekBar view bound

Signed-off-by: Songlin Jiang <sjiang@igalia.com>
Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The results of the patch are impressive. However I'd like you to check first why we are receiving the events that we are not supposed to get when clicking on the seek bar.

Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doubts already clarified. Let's land this, improves user experience a lot.

@svillar svillar merged commit 2bb0933 into main Sep 28, 2023
18 checks passed
@svillar svillar deleted the media branch September 28, 2023 14:53
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.

2 participants