Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eec100b2 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change If0d04246 into eclair-mr2

* changes:
  Don't count empty buffers when computing the frame rate.
parents 6ae24d93 f0d04246
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
            }