|
@@ -154,7 +154,7 @@ void VideoThread(int n)
|
|
|
|
|
|
// char * strser = new char[nSize];
|
|
|
bool bser = pic.SerializeToArray(strser,nSize);
|
|
|
- qDebug("pac time is %d size is %d",xg.elapsed(),nSize);
|
|
|
+ qDebug("time is %ld pac time is %d size is %d",QDateTime::currentMSecsSinceEpoch(),xg.elapsed(),nSize);
|
|
|
|
|
|
// iv::modulecomm::ModuleSendMsg(gpa,str.data(),str.length());
|
|
|
if(bser)iv::modulecomm::ModuleSendMsg(gpa,strser,nSize);
|
|
@@ -202,7 +202,7 @@ int main(int argc, char *argv[])
|
|
|
std::cout<<strpath.toStdString()<<std::endl;
|
|
|
iv::xmlparam::Xmlparam xp(strpath.toStdString());
|
|
|
|
|
|
- std::string xmlmsgname = xp.GetParam("msgname","compresspic");
|
|
|
+ std::string xmlmsgname = xp.GetParam("msgname","image00");
|
|
|
gmsgname = xmlmsgname;
|
|
|
std::string strwidth = xp.GetParam("width","1280");
|
|
|
std::string strheight = xp.GetParam("height","720");
|