Merge change If0d04246 into eclair-mr2
* changes: Don't count empty buffers when computing the frame rate.
This commit is contained in:
@@ -173,7 +173,7 @@ static void playSource(OMXClient *client, const sp<MediaSource> &source) {
|
||||
break;
|
||||
}
|
||||
|
||||
if ((n++ % 16) == 0) {
|
||||
if (buffer->range_length() > 0 && (n++ % 16) == 0) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user