Remove issue with converting milliseconds to microseconds twice
This PR Fixes an issue for video and live stream mode where the millisecond timestamp is converted to microseconds twice
This commit is contained in:
parent
d5fa4a157e
commit
8388b92c5a
|
@ -118,7 +118,7 @@ public class BaseVisionTaskApi implements AutoCloseable {
|
|||
.getPacketCreator()
|
||||
.createProto(convertToNormalizedRect(imageProcessingOptions, image)));
|
||||
}
|
||||
return processVideoData(inputPackets, timestampMs * MICROSECONDS_PER_MILLISECOND);
|
||||
return processVideoData(inputPackets, timestampMs);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -160,7 +160,7 @@ public class BaseVisionTaskApi implements AutoCloseable {
|
|||
.getPacketCreator()
|
||||
.createProto(convertToNormalizedRect(imageProcessingOptions, image)));
|
||||
}
|
||||
sendLiveStreamData(inputPackets, timestampMs * MICROSECONDS_PER_MILLISECOND);
|
||||
sendLiveStreamData(inputPackets, timestampMs);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user