Skip to content

Commit

Permalink
Do not convert milliseconds to microseconds twice
Browse files Browse the repository at this point in the history
Fixes #4809

PiperOrigin-RevId: 566644379
  • Loading branch information
schmidt-sebastian authored and copybara-github committed Sep 19, 2023
1 parent 0ed1991 commit 12600e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ protected TaskResult processVideoData(
.getPacketCreator()
.createProto(convertToNormalizedRect(imageProcessingOptions, image)));
}
return processVideoData(inputPackets, timestampMs * MICROSECONDS_PER_MILLISECOND);
return processVideoData(inputPackets, timestampMs);
}

/**
Expand Down Expand Up @@ -160,7 +160,7 @@ protected void sendLiveStreamData(
.getPacketCreator()
.createProto(convertToNormalizedRect(imageProcessingOptions, image)));
}
sendLiveStreamData(inputPackets, timestampMs * MICROSECONDS_PER_MILLISECOND);
sendLiveStreamData(inputPackets, timestampMs);
}

/**
Expand Down

0 comments on commit 12600e0

Please sign in to comment.