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

Commit 479247f0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Support verbose mode for regular decoding"

parents 9f57d3bd 4a6dea91
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -354,7 +354,10 @@ static void playSource(sp<MediaSource> &source) {
                    decodeTimesUs.push(delayDecodeUs);
                }

                if (showProgress && (n++ % 16) == 0) {
                if (gVerbose) {
                    MetaDataBase &meta = buffer->meta_data();
                    fprintf(stdout, "%ld sample format: %s\n", numFrames, meta.toString().c_str());
                } else if (showProgress && (n++ % 16) == 0) {
                    printf(".");
                    fflush(stdout);
                }