1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore: add more debugging when subscribing video

This commit is contained in:
sudden6 2018-04-30 01:04:06 +02:00
parent aae567ed8e
commit 50cee67f5f
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -268,7 +268,7 @@ void CameraSource::openDevice()
return;
}
qDebug() << "Opening device " << deviceName;
qDebug() << "Opening device" << deviceName << "subscriptions:" << subscriptions;
if (device) {
device->open();
@ -385,7 +385,7 @@ void CameraSource::closeDevice()
return;
}
qDebug() << "Closing device " << deviceName;
qDebug() << "Closing device" << deviceName << "subscriptions:" << subscriptions;
// Free all remaining VideoFrame
VideoFrame::untrackFrames(id, true);