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
@ -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…
x
Reference in New Issue
Block a user