mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
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:
parent
260da99955
commit
94317d1a39
6 changed files with 147 additions and 30 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue