Fix skipping first video packet

This commit is contained in:
Cameron Gutman 2015-08-11 08:42:21 -07:00
parent 316b8c56f1
commit 36c320a584

View File

@ -19,7 +19,7 @@ public class VideoDepacketizer {
private VideoPacket backingPacketTail;
// Sequencing state
private int lastPacketInStream = 0;
private int lastPacketInStream = -1;
private int nextFrameNumber = 1;
private int startFrameNumber = 1;
private boolean waitingForNextSuccessfulFrame;