added graph display of instantly required bandwidth for VOIP, in preparation to chosing new video codec. GUI layout needs to be sorted.

This commit is contained in:
csoler 2015-08-07 21:40:48 -04:00
parent 260da99955
commit 94317d1a39
6 changed files with 147 additions and 30 deletions

View file

@ -88,7 +88,10 @@ void QVideoInputDevice::grabFrame()
bool QVideoInputDevice::getNextEncodedPacket(RsVOIPDataChunk& chunk)
{
return _video_encoder->nextPacket(chunk) ;
if(_video_encoder)
return _video_encoder->nextPacket(chunk) ;
else
return false ;
}
QVideoInputDevice::~QVideoInputDevice()