Merge change If0d04246 into eclair-mr2

* changes:
  Don't count empty buffers when computing the frame rate.
This commit is contained in:
Android (Google) Code Review
2009-12-10 13:11:50 -08:00

View File

@@ -173,7 +173,7 @@ static void playSource(OMXClient *client, const sp<MediaSource> &source) {
break; break;
} }
if ((n++ % 16) == 0) { if (buffer->range_length() > 0 && (n++ % 16) == 0) {
printf("."); printf(".");
fflush(stdout); fflush(stdout);
} }