Browse Source

chore: add more debugging when subscribing video

reviewable/pr5121/r1
sudden6 7 years ago
parent
commit
50cee67f5f
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 4
      src/video/camerasource.cpp

4
src/video/camerasource.cpp

@ -268,7 +268,7 @@ void CameraSource::openDevice() @@ -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() @@ -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);

Loading…
Cancel
Save