-
Notifications
You must be signed in to change notification settings - Fork 451
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
player.seekTo vs presentationTimeUs in overlay.getTextureId is wrong #1996
Comments
can't test in demo app as can't compile your git repo on windows with AS koala. I used to be able to with older pulls. |
This is not the expected behaviour. The effect timestamp will start from |
well it reall
:-( |
No it's not formally documented, but the implementation follows the principle of ExoPlayer, where after you seek, the position is reset to the seeked position. |
well trying to workaround this produces inconsistent results. guess I'm just going to have to fork it. |
AND presentationTimeUs is sometimes negative. |
The |
It happens when I to the above use of seekTo AND then bash the skip backwards/forwards and seek bar a bit. |
ok, here's a trivial repro for negative time
|
Version
Media3 1.5.1
More version details
No response
Devices that reproduce the issue
pixel 8pro
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
Expected result
presentationTimeUs in textureOverlay.getTextureId should start counting from the start of the file.
Actual result
presentationTimeUs in textureOverlay.getTextureId should from the seek position.
Media
all files tested
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: