"Fix" decode unit leak

This commit is contained in:
Cameron Gutman 2014-07-12 14:07:18 -07:00
parent 70b50bd096
commit 77cea99b35

View File

@ -77,7 +77,7 @@ public class VideoDepacketizer {
LimeLog.warning("Video decoder is too slow! Forced to drop decode units");
// Invalidate all frames from the start of the DU queue
controlListener.connectionSinkTooSlow(decodedUnits.pollPopulatedObject().getFrameNumber(), frameNumber);
controlListener.connectionSinkTooSlow(0, 0);
// Remove existing frames
decodedUnits.clearPopulatedObjects();