Skip to content

Commit

Permalink
Use event playback position in EventLogger.
Browse files Browse the repository at this point in the history
We currently use the playback position in the current window, not the
position in the window the event belongs to. This creates confusing
outputs, e.g, window=1, mediaPos=100, even if the position refers to
window 0.

issue:#7332
PiperOrigin-RevId: 310896908
  • Loading branch information
tonihei authored and ojw28 committed May 13, 2020
1 parent 1e9eb3b commit 4bc6799
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ private String getEventTimeString(EventTime eventTime) {
return "eventTime="
+ getTimeString(eventTime.realtimeMs - startTimeMs)
+ ", mediaPos="
+ getTimeString(eventTime.currentPlaybackPositionMs)
+ getTimeString(eventTime.eventPlaybackPositionMs)
+ ", "
+ windowPeriodString;
}
Expand Down

0 comments on commit 4bc6799

Please sign in to comment.