mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Fix test with TimestampWrapper
The renderer offset is not needed as the pipeline now takes un-offset time,
from 73bf852405
PiperOrigin-RevId: 646808594
This commit is contained in:
parent
3694487285
commit
efbd522df9
1 changed files with 1 additions and 4 deletions
|
|
@ -315,13 +315,10 @@ public class EffectPlaybackTest {
|
|||
outputImageReader.getSurface(),
|
||||
new Size(MP4_ASSET.videoFormat.width, MP4_ASSET.videoFormat.height));
|
||||
player.setPlayWhenReady(true);
|
||||
long exoPresentationTimeOffsetUs = 1000000000000L;
|
||||
player.setVideoEffects(
|
||||
ImmutableList.of(
|
||||
new TimestampWrapper(
|
||||
new Brightness(0.5f),
|
||||
/* startTimeUs= */ exoPresentationTimeOffsetUs + 166833,
|
||||
/* endTimeUs= */ exoPresentationTimeOffsetUs + 510000)));
|
||||
new Brightness(0.5f), /* startTimeUs= */ 166833, /* endTimeUs= */ 510000)));
|
||||
|
||||
// Adding an EventLogger to use its log output in case the test fails.
|
||||
player.addAnalyticsListener(new EventLogger());
|
||||
|
|
|
|||
Loading…
Reference in a new issue