Small tweaks to various libraries and debugging messages.

This commit is contained in:
Thulinma 2016-07-06 11:16:17 +02:00
parent a071182da9
commit 1bf574acb8
6 changed files with 39 additions and 16 deletions

View file

@ -122,12 +122,16 @@ namespace Mist {
return 0;
}
parseHeader();
MEDIUM_MSG("Header parsed, %lu tracks", myMeta.tracks.size());
if (!streamName.size()) {
MEDIUM_MSG("Starting convert");
convert();
} else if (!needsLock()) {
MEDIUM_MSG("Starting stream");
stream();
}else{
MEDIUM_MSG("Starting serve");
serve();
}
return 0;