| commit | eec100b2f44caaea048d3abd898df3c7308865d5 | [log] [tgz] |
|---|---|---|
| author | Android (Google) Code Review <android-gerrit@google.com> | Thu Dec 10 13:11:50 2009 -0800 |
| committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Dec 10 13:11:50 2009 -0800 |
| tree | 671c5e9ace7230910d67cef3b59fe48c719dbc77 | |
| parent | 6ae24d9365e21ac2770f2354cc1631751bffe3e6 [diff] | |
| parent | f0d04246f40b3f87d361451f9ebc2feb7b5318de [diff] |
Merge change If0d04246 into eclair-mr2 * changes: Don't count empty buffers when computing the frame rate.
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index 76ec54b..376f3d9 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp
@@ -173,7 +173,7 @@ break; } - if ((n++ % 16) == 0) { + if (buffer->range_length() > 0 && (n++ % 16) == 0) { printf("."); fflush(stdout); }