From dbc03445db2bbf83b64f0c0a5dc62e61408864d7 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Wed, 19 Aug 2009 09:29:34 -0700 Subject: The PV AVC software decoder expects each fragment of a NAL unit to be handed to the decoder unframed. --- cmds/stagefright/stagefright.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cmds') diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index 56f6338..185e6ac 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -70,6 +70,7 @@ static void playSource(OMXClient *client, const sp &source) { long numIterationsLeft = gNumRepetitions; MediaSource::ReadOptions options; + while (numIterationsLeft-- > 0) { MediaBuffer *buffer; -- cgit v1.1