-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[video_player] Optimize caption retrieval with binary search in VideoPlayerController #8347
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
Open
abdelaziz-mahdy
wants to merge
35
commits into
flutter:main
Choose a base branch
from
abdelaziz-mahdy:binary-search-captions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+817
−388
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
a67e5ef
Optimize caption retrieval with binary search in VideoPlayerController
abdelaziz-mahdy 106f838
Update Change Log
abdelaziz-mahdy 44aefb8
Refactor: Optimize caption lookup using binary search with `package:c…
abdelaziz-mahdy 08f21d9
Refactor: Enhance closed caption retrieval using binary search from `…
abdelaziz-mahdy be6ba80
Merge branch 'main' into binary-search-captions
abdelaziz-mahdy 246ee3f
Bump version to 2.9.3
abdelaziz-mahdy 1fd8e70
Merge branch 'binary-search-captions' of https://github.com/zezo357/p…
abdelaziz-mahdy 2142659
test: Enhance closed caption tests for sorting and seeking behavior
abdelaziz-mahdy 5e9ace9
feat: Add sortedCaptions getter to VideoPlayerController
abdelaziz-mahdy b74b352
fix: Correct binary search logic for caption retrieval and update tes…
abdelaziz-mahdy cedd1a4
adding more captions checks
abdelaziz-mahdy 9a23e47
refactor: Remove sortedCaptions getter and related test.
abdelaziz-mahdy 57260cb
test: Add test to verify input captions are unsorted
abdelaziz-mahdy 5b383f0
chore: Update pubspec.yaml deps to be sorted alphabetically.
abdelaziz-mahdy 465014f
chore: improve change log to follow guidelines
abdelaziz-mahdy d41f6a4
chore: remove unnecessary blank line in pubspec.yaml
abdelaziz-mahdy edb882c
chore: downgrade collection dependency from 1.19.0 to 1.18.0
abdelaziz-mahdy a7c1159
Merge branch 'main' into binary-search-captions
abdelaziz-mahdy 1730ea3
chore: follow guide lines/review
abdelaziz-mahdy 0dc3aef
chore: only sort ClosedCaptions when file changes
abdelaziz-mahdy 423ede5
Merge branch 'binary-search-captions' of https://github.com/zezo357/p…
abdelaziz-mahdy 90e8db0
Merge branch 'main' of https://github.com/flutter/packages into binar…
abdelaziz-mahdy aafadf8
chore: fix spacing in change log
abdelaziz-mahdy e4dc51e
chore: optimize closed caption sorting by checking for file changes
abdelaziz-mahdy 0226523
Merge branch 'main' of https://github.com/flutter/packages into binar…
abdelaziz-mahdy ae5686b
Refactor video player tests for clarity and consistency
abdelaziz-mahdy 8401b89
Refactor closed caption handling in VideoPlayerController
abdelaziz-mahdy 9363c10
Refactor closed caption handling in VideoPlayerController for improve…
abdelaziz-mahdy a723100
Merge branch 'main' of https://github.com/flutter/packages into binar…
abdelaziz-mahdy 6e2340d
Refactor caption sorting and enhance test coverage for binary search …
abdelaziz-mahdy 862163c
Refactor seekTo argument to use Duration.zero for clarity in video pl…
abdelaziz-mahdy b802527
Bump version to 2.10.2 and update changelog for SDK and caption optim…
abdelaziz-mahdy 81ab691
Refactor caption handling in VideoPlayerController to simplify logic …
abdelaziz-mahdy 59df5d2
Merge remote-tracking branch 'upstream/main' into binary-search-captions
abdelaziz-mahdy 6634a44
Refactor variable declarations in video_player_test.dart to use type …
abdelaziz-mahdy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.