Cleared up some messages
This commit is contained in:
parent
0e41e88569
commit
7ab79686f7
2 changed files with 2 additions and 4 deletions
|
@ -120,7 +120,6 @@ namespace Analysers {
|
||||||
if (Detail & (DETAIL_EXPLICIT | DETAIL_RECONSTRUCT)){
|
if (Detail & (DETAIL_EXPLICIT | DETAIL_RECONSTRUCT)){
|
||||||
F.ChunkLoader(next);
|
F.ChunkLoader(next);
|
||||||
if (Detail & DETAIL_EXPLICIT){
|
if (Detail & DETAIL_EXPLICIT){
|
||||||
fprintf(stderr, "Received %i bytes audio data\n", next.len);
|
|
||||||
std::cerr << "Got a " << F.len << " bytes " << F.tagType() << " FLV tag of time " << F.tagTime() << "." << std::endl;
|
std::cerr << "Got a " << F.len << " bytes " << F.tagType() << " FLV tag of time " << F.tagTime() << "." << std::endl;
|
||||||
}
|
}
|
||||||
if (Detail & DETAIL_RECONSTRUCT){
|
if (Detail & DETAIL_RECONSTRUCT){
|
||||||
|
@ -132,7 +131,6 @@ namespace Analysers {
|
||||||
if (Detail & (DETAIL_EXPLICIT | DETAIL_RECONSTRUCT)){
|
if (Detail & (DETAIL_EXPLICIT | DETAIL_RECONSTRUCT)){
|
||||||
F.ChunkLoader(next);
|
F.ChunkLoader(next);
|
||||||
if (Detail & DETAIL_EXPLICIT){
|
if (Detail & DETAIL_EXPLICIT){
|
||||||
fprintf(stderr, "Received %i bytes video data\n", next.len);
|
|
||||||
std::cerr << "Got a " << F.len << " bytes " << F.tagType() << " FLV tag of time " << F.tagTime() << "." << std::endl;
|
std::cerr << "Got a " << F.len << " bytes " << F.tagType() << " FLV tag of time " << F.tagTime() << "." << std::endl;
|
||||||
}
|
}
|
||||||
if (Detail & DETAIL_RECONSTRUCT){
|
if (Detail & DETAIL_RECONSTRUCT){
|
||||||
|
|
|
@ -158,7 +158,7 @@ int main(int argc, char ** argv){
|
||||||
stored_interface["default"] = "0.0.0.0";
|
stored_interface["default"] = "0.0.0.0";
|
||||||
}
|
}
|
||||||
JSON::Value stored_user = JSON::fromString(
|
JSON::Value stored_user = JSON::fromString(
|
||||||
"{\"long\":\"username\", \"short\":\"u\", \"arg\":\"string\", \"help\":\"Username to drop privileges to, or root to not drop provileges.\"}");
|
"{\"long\":\"username\", \"short\":\"u\", \"arg\":\"string\", \"help\":\"Username to transfer privileges to, default is root.\"}");
|
||||||
stored_user["default"] = Controller::Storage["config"]["controller"]["username"];
|
stored_user["default"] = Controller::Storage["config"]["controller"]["username"];
|
||||||
if ( !stored_user["default"]){
|
if ( !stored_user["default"]){
|
||||||
stored_user["default"] = "root";
|
stored_user["default"] = "root";
|
||||||
|
@ -169,7 +169,7 @@ int main(int argc, char ** argv){
|
||||||
conf.addOption("username", stored_user);
|
conf.addOption("username", stored_user);
|
||||||
conf.addOption("daemonize",
|
conf.addOption("daemonize",
|
||||||
JSON::fromString(
|
JSON::fromString(
|
||||||
"{\"long\":\"daemon\", \"short\":\"d\", \"default\":1, \"long_off\":\"nodaemon\", \"short_off\":\"n\", \"help\":\"Whether or not to daemonize the process after starting.\"}"));
|
"{\"long\":\"daemon\", \"short\":\"d\", \"default\":1, \"long_off\":\"nodaemon\", \"short_off\":\"n\", \"help\":\"Turns deamon mode on (-d) or off (-n). -d (default) runs quietly in background, -n enables verbose in foreground.\"}"));
|
||||||
conf.addOption("account",
|
conf.addOption("account",
|
||||||
JSON::fromString(
|
JSON::fromString(
|
||||||
"{\"long\":\"account\", \"short\":\"a\", \"arg\":\"string\" \"default\":\"\", \"help\":\"A username:password string to create a new account with.\"}"));
|
"{\"long\":\"account\", \"short\":\"a\", \"arg\":\"string\" \"default\":\"\", \"help\":\"A username:password string to create a new account with.\"}"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue