Fix timestamp of squashed packets in MarkerProcessor

This commit is contained in:
Jonas Herzig
2019-03-13 11:50:18 +01:00
parent 681e803d44
commit 1db94b7871

View File

@@ -98,7 +98,7 @@ public class MarkerProcessor {
timeOffset
);
for (PacketData packet : packets) {
replayOutputStream.write(packet.getTime() - timeOffset, packet.getPacket());
replayOutputStream.write(0, packet.getPacket());
}
}
@@ -116,7 +116,7 @@ public class MarkerProcessor {
nextMarker.getTime()
);
for (PacketData packet : packets) {
replayOutputStream.write(packet.getTime() - timeOffset, packet.getPacket());
replayOutputStream.write(nextMarker.getTime() - timeOffset, packet.getPacket());
}
cutFilter = null;
}