diff --git a/src/com/limelight/nvstream/av/AvByteBufferPool.java b/src/com/limelight/nvstream/av/AvByteBufferPool.java index 8cfbcc5a..0fe652af 100644 --- a/src/com/limelight/nvstream/av/AvByteBufferPool.java +++ b/src/com/limelight/nvstream/av/AvByteBufferPool.java @@ -6,7 +6,7 @@ public class AvByteBufferPool { private ConcurrentLinkedQueue bufferList = new ConcurrentLinkedQueue(); private int bufferSize; - private static final boolean doubleFreeDebug = false; + private static final boolean doubleFreeDebug = true; public AvByteBufferPool(int size) { diff --git a/src/com/limelight/nvstream/av/AvObjectPool.java b/src/com/limelight/nvstream/av/AvObjectPool.java index 1bde62cc..d751be98 100644 --- a/src/com/limelight/nvstream/av/AvObjectPool.java +++ b/src/com/limelight/nvstream/av/AvObjectPool.java @@ -5,7 +5,7 @@ import java.util.concurrent.ConcurrentLinkedQueue; public class AvObjectPool { private ConcurrentLinkedQueue objectList = new ConcurrentLinkedQueue(); - private static final boolean doubleFreeDebug = false; + private static final boolean doubleFreeDebug = true; public void purge() { diff --git a/src/com/limelight/nvstream/av/AvShortBufferPool.java b/src/com/limelight/nvstream/av/AvShortBufferPool.java index 84939ca1..9f7a956c 100644 --- a/src/com/limelight/nvstream/av/AvShortBufferPool.java +++ b/src/com/limelight/nvstream/av/AvShortBufferPool.java @@ -6,7 +6,7 @@ public class AvShortBufferPool { private ConcurrentLinkedQueue bufferList = new ConcurrentLinkedQueue(); private int bufferSize; - private static final boolean doubleFreeDebug = false; + private static final boolean doubleFreeDebug = true; public AvShortBufferPool(int size) { diff --git a/src/com/limelight/nvstream/av/video/AvVideoDepacketizer.java b/src/com/limelight/nvstream/av/video/AvVideoDepacketizer.java index 3bdddcc0..646b0b7d 100644 --- a/src/com/limelight/nvstream/av/video/AvVideoDepacketizer.java +++ b/src/com/limelight/nvstream/av/video/AvVideoDepacketizer.java @@ -125,7 +125,7 @@ public class AvVideoDepacketizer { } // Construct the H264 decode unit - AvDecodeUnit du = AvDecodeUnit.newDecodeUnit(AvDecodeUnit.TYPE_H264, new LinkedList(avcNalDataChain), avcNalDataLength, flags); + AvDecodeUnit du = AvDecodeUnit.newDecodeUnit(AvDecodeUnit.TYPE_H264, avcNalDataChain, avcNalDataLength, flags); if (!decodedUnits.offer(du)) { releaseDecodeUnit(du);