From f849630113e99dccdc98b9763c90354d818f552a Mon Sep 17 00:00:00 2001 From: Kongqun Yang Date: Fri, 18 Apr 2014 15:32:44 -0700 Subject: [PATCH] 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 --- app/packager_main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/packager_main.cc b/app/packager_main.cc index b227febaa7..2ae77e77d5 100644 --- a/app/packager_main.cc +++ b/app/packager_main.cc @@ -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; }