Clean up packager_main exiting message

The message will be printed only if output is missing and
dump_stream_info is false.

Change-Id: Ia3ecca961d84b15e45182e19fd90501156e1aa9c
This commit is contained in:
Kongqun Yang 2014-04-18 15:32:44 -07:00
parent 2169c12e0d
commit f849630113
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ bool RunPackager(const std::string& input) {
DumpStreamInfo(demuxer.streams());
if (FLAGS_output.empty()) {
LOG(INFO) << "No output specified. Exiting.";
if (!FLAGS_dump_stream_info)
LOG(WARNING) << "No output specified. Exiting.";
return true;
}