|
@@ -116,7 +116,7 @@ void ThreadEnc()
|
|
|
exit(1);
|
|
|
|
|
|
/* put sample parameters */
|
|
|
- c->bit_rate = 1000000;
|
|
|
+ c->bit_rate = 4000000;
|
|
|
/* resolution must be a multiple of two */
|
|
|
c->width = 1920;
|
|
|
c->height = 1080;
|
|
@@ -255,7 +255,7 @@ int main(int argc, char *argv[])
|
|
|
gnheight = atoi(gstrheight);
|
|
|
|
|
|
void * pa = iv::modulecomm::RegisterRecv("picfront",Listenpic);
|
|
|
- gpaout = iv::modulecomm::RegisterSend("frame",1000000,1);
|
|
|
+ gpaout = iv::modulecomm::RegisterSend("h264frame",1000000,1);
|
|
|
std::thread * pthreadenc = new std::thread(ThreadEnc);
|
|
|
return a.exec();
|
|
|
}
|