Decreased default MP4 connector debugging verbosity.
This commit is contained in:
parent
54196c43c8
commit
e324b24cd9
1 changed files with 4 additions and 4 deletions
|
@ -383,7 +383,7 @@ namespace Connector_HTTP {
|
||||||
bool inited = false;//Whether the stream is initialized
|
bool inited = false;//Whether the stream is initialized
|
||||||
Socket::Connection ss( -1);//The Stream Socket, used to connect to the desired stream.
|
Socket::Connection ss( -1);//The Stream Socket, used to connect to the desired stream.
|
||||||
std::string streamname;//Will contain the name of the stream.
|
std::string streamname;//Will contain the name of the stream.
|
||||||
#if DEBUG >= DLVL_DEVEL
|
#if DEBUG >= DLVL_HIGH
|
||||||
std::set <keyPart> sortSet;//filling sortset for interleaving parts
|
std::set <keyPart> sortSet;//filling sortset for interleaving parts
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ namespace Connector_HTTP {
|
||||||
cmd << "\ns 0\np\n";
|
cmd << "\ns 0\np\n";
|
||||||
ss.SendNow(cmd.str());
|
ss.SendNow(cmd.str());
|
||||||
}
|
}
|
||||||
#if DEBUG >= DLVL_DEVEL
|
#if DEBUG >= DLVL_HIGH
|
||||||
for (std::set<int>::iterator subIt = tracks.begin(); subIt != tracks.end(); subIt++) {
|
for (std::set<int>::iterator subIt = tracks.begin(); subIt != tracks.end(); subIt++) {
|
||||||
keyPart temp;
|
keyPart temp;
|
||||||
temp.trackID = *subIt;
|
temp.trackID = *subIt;
|
||||||
|
@ -474,10 +474,10 @@ namespace Connector_HTTP {
|
||||||
if (Strm.lastType() == DTSC::PAUSEMARK){
|
if (Strm.lastType() == DTSC::PAUSEMARK){
|
||||||
conn.close();
|
conn.close();
|
||||||
}else if(Strm.lastType() == DTSC::AUDIO || Strm.lastType() == DTSC::VIDEO){
|
}else if(Strm.lastType() == DTSC::AUDIO || Strm.lastType() == DTSC::VIDEO){
|
||||||
#if DEBUG >= DLVL_DEVEL
|
#if DEBUG >= DLVL_HIGH
|
||||||
if (!sortSet.empty()){
|
if (!sortSet.empty()){
|
||||||
if (sortSet.begin()->trackID != Strm.getPacket()["trackid"].asInt() || sortSet.begin()->time != Strm.getPacket()["time"].asInt()){
|
if (sortSet.begin()->trackID != Strm.getPacket()["trackid"].asInt() || sortSet.begin()->time != Strm.getPacket()["time"].asInt()){
|
||||||
DEBUG_MSG(DLVL_DEVEL, "Set[%d, %d] => Real[%d, %d]", sortSet.begin()->trackID, sortSet.begin()->time, Strm.getPacket()["trackid"].asInt(), Strm.getPacket()["time"].asInt());
|
DEBUG_MSG(DLVL_HIGH, "Set[%d, %d] => Real[%d, %d]", sortSet.begin()->trackID, sortSet.begin()->time, Strm.getPacket()["trackid"].asInt(), Strm.getPacket()["time"].asInt());
|
||||||
}
|
}
|
||||||
//add keyPart to sortSet
|
//add keyPart to sortSet
|
||||||
keyPart temp;
|
keyPart temp;
|
||||||
|
|
Loading…
Add table
Reference in a new issue