mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Fix skipping to keyframe to use correct position
Issue: #2575 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=150622487
This commit is contained in:
parent
f9767940cc
commit
de6e47f7e6
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ public abstract class BaseRenderer implements Renderer, RendererCapabilities {
|
|||
* @param timeUs The specified time.
|
||||
*/
|
||||
protected void skipToKeyframeBefore(long timeUs) {
|
||||
stream.skipToKeyframeBefore(timeUs);
|
||||
stream.skipToKeyframeBefore(timeUs - streamOffsetUs);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue