mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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.
|
* @param timeUs The specified time.
|
||||||
*/
|
*/
|
||||||
protected void skipToKeyframeBefore(long timeUs) {
|
protected void skipToKeyframeBefore(long timeUs) {
|
||||||
stream.skipToKeyframeBefore(timeUs);
|
stream.skipToKeyframeBefore(timeUs - streamOffsetUs);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue