Project import generated by Copybara.
GitOrigin-RevId: ff83882955f1a1e2a043ff4e71278be9d7217bbe
This commit is contained in:
@@ -101,8 +101,8 @@ Status OutputStreamShard::AddPacketInternal(T&& packet) {
|
||||
}
|
||||
|
||||
if (packet.IsEmpty()) {
|
||||
return mediapipe::InvalidArgumentErrorBuilder(MEDIAPIPE_LOC)
|
||||
<< "Empty packet sent to stream \"" << Name() << "\".";
|
||||
SetNextTimestampBound(packet.Timestamp().NextAllowedInStream());
|
||||
return absl::OkStatus();
|
||||
}
|
||||
|
||||
const Timestamp timestamp = packet.Timestamp();
|
||||
|
||||
Reference in New Issue
Block a user