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

Commit 4a6dea91 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Support verbose mode for regular decoding

Change-Id: I90ed292e7879a78491e2f62b7ee92906496e8fc7
parent febb45a8
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);
                }