https://github.com/google/ExoPlayer
Revision b9365f5563445570c6ad92607a31524be56ad04f authored by tonihei on 13 December 2022, 09:04:04 UTC, committed by christosts on 25 January 2023, 18:29:34 UTC
BasePlayer simplifies implementations by handling all the various seek methods and forwarding to a single method that can then be implemented by subclasses. However, this loses the information about the concrete entry point used for seeking, which is relevant when the subclass wants to verify or filter by Player.Command. This can be improved by adding the command as a new parameter. Since we have to change the method anyway, we can also incorporate the boolean flag about whether the current item is repeated to avoid the separate method. PiperOrigin-RevId: 494948094 (cherry picked from commit 6e0f1f10b3666e6c2c74fc5a154dec3f0e03fecb)
1 parent 3dfbfd3
Tip revision: b9365f5563445570c6ad92607a31524be56ad04f authored by tonihei on 13 December 2022, 09:04:04 UTC
Forward seek command details to seekTo method in BasePlayer
Forward seek command details to seekTo method in BasePlayer
Tip revision: b9365f5
File | Mode | Size |
---|---|---|
.github | ||
.idea | ||
demos | ||
docs | ||
extensions | ||
gradle | ||
library | ||
playbacktests | ||
robolectricutils | ||
testdata | ||
testutils | ||
.gitignore | -rw-r--r-- | 1.1 KB |
CONTRIBUTING.md | -rw-r--r-- | 1.6 KB |
LICENSE | -rw-r--r-- | 11.1 KB |
README.md | -rw-r--r-- | 5.1 KB |
RELEASENOTES.md | -rw-r--r-- | 252.6 KB |
SECURITY.md | -rw-r--r-- | 453 bytes |
build.gradle | -rw-r--r-- | 1.2 KB |
common_library_config.gradle | -rw-r--r-- | 1.4 KB |
constants.gradle | -rw-r--r-- | 2.5 KB |
core_settings.gradle | -rw-r--r-- | 4.9 KB |
gradle.properties | -rw-r--r-- | 271 bytes |
gradlew | -rwxr-xr-x | 7.9 KB |
gradlew.bat | -rw-r--r-- | 2.7 KB |
javadoc_combined.gradle | -rw-r--r-- | 7.4 KB |
javadoc_library.gradle | -rw-r--r-- | 1.9 KB |
javadoc_util.gradle | -rw-r--r-- | 2.5 KB |
media3-migration.sh | -rw-r--r-- | 17.1 KB |
missing_aar_type_workaround.gradle | -rw-r--r-- | 4.0 KB |
publish.gradle | -rw-r--r-- | 2.3 KB |
settings.gradle | -rw-r--r-- | 1.5 KB |
Computing file changes ...