shithub: aacenc

Download patch

ref: 4fda3e8bd4cf9bc3630d1f9e79a15f77ba7d3cc2
parent: 0b6d7604c62a6629383309c40ffbde1507fadb92
author: knik <knik@users.sourceforge.net>
date: Tue Jul 18 18:52:14 EDT 2017

new verbosity level

--- a/frontend/main.c
+++ b/frontend/main.c
@@ -1110,6 +1110,7 @@
             encoded_samples += frame_samples;
         }
     }
+    fprintf(stderr, "\n");
 
     if (container == MP4_CONTAINER)
     {
@@ -1141,16 +1142,18 @@
 
         free(version_string);
 
+        if (verbose >= 2)
+        {
         fprintf(stderr, "%u frames\n", mp4config.frame.ents);
         fprintf(stderr, "%u output samples\n", mp4config.samples);
         fprintf(stderr, "max bitrate: %u\n", mp4config.bitratemax);
         fprintf(stderr, "avg bitrate: %u\n", mp4config.bitrateavg);
         fprintf(stderr, "max frame size: %u\n", mp4config.buffersize);
+        }
     }
     else
     {
         fclose(outfile);
-        fprintf(stderr, "\n");
     }
 
     faacEncClose(hEncoder);