comparison runner/main.cpp @ 370:3e0133aa2354

Update CHANGELOG; add warning about mp3/aac encoder delay to help
author Chris Cannam
date Fri, 05 Jun 2020 10:46:08 +0100
parents ddcbbd85c1ea
children f33924771c5f
comparison
equal deleted inserted replaced
369:ddcbbd85c1ea 370:3e0133aa2354
255 } 255 }
256 256
257 cerr << "Playlist files in M3U format are also supported." << endl; 257 cerr << "Playlist files in M3U format are also supported." << endl;
258 cerr << endl; 258 cerr << endl;
259 259
260 if (extlist.contains("*.mp3")) {
261 QString warning = "(Note: It's wise to avoid using %1 as a source format, even in cases where lossy compression is not considered problematic: the handling of initial encoder delay can vary between decoders, and possibly even between builds of %2, so feature timings may not be consistent.)";
262 if (extlist.contains("*.m4a")) {
263 warning = warning.arg("mp3 or mp4 (aac, m4a)").arg(myname);
264 } else {
265 warning = warning.arg("mp3").arg(myname);
266 }
267 cerr << wrap(warning, 78, 0) << endl << endl;
268 }
269
260 set<string> writers = FeatureWriterFactory::getWriterTags(); 270 set<string> writers = FeatureWriterFactory::getWriterTags();
261 271
262 QString writerText = "Supported writer types are: "; 272 QString writerText = "Supported writer types are: ";
263 for (set<string>::const_iterator i = writers.begin(); 273 for (set<string>::const_iterator i = writers.begin();
264 i != writers.end(); ) { 274 i != writers.end(); ) {