diff options
author | Andreas Huber <andih@google.com> | 2009-08-19 09:29:34 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2009-08-19 09:37:46 -0700 |
commit | dbc03445db2bbf83b64f0c0a5dc62e61408864d7 (patch) | |
tree | 602897892375bd41177ad810a8147512bdeb9df2 /cmds/stagefright | |
parent | 6d61edc7110775773d966e688731a80221d7666d (diff) | |
download | frameworks_av-dbc03445db2bbf83b64f0c0a5dc62e61408864d7.zip frameworks_av-dbc03445db2bbf83b64f0c0a5dc62e61408864d7.tar.gz frameworks_av-dbc03445db2bbf83b64f0c0a5dc62e61408864d7.tar.bz2 |
The PV AVC software decoder expects each fragment of a NAL unit to be handed to the decoder unframed.
Diffstat (limited to 'cmds/stagefright')
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<MediaSource> &source) { long numIterationsLeft = gNumRepetitions; MediaSource::ReadOptions options; + while (numIterationsLeft-- > 0) { MediaBuffer *buffer; |