VideoFrame FakeFrameSource::GetFrameRotationApplied() { switch (rotation_) { case kVideoRotation_0: case kVideoRotation_180: return GetFrame(width_, height_, kVideoRotation_0, interval_); case kVideoRotation_90: case kVideoRotation_270: return GetFrame(height_, width_, kVideoRotation_0, interval_);
}
RTC_DCHECK_NOTREACHED() << "Invalid rotation value: "
<< static_cast<int>(rotation_); // Without this return, the Windows Visual Studio compiler complains // "not all control paths return a value". return GetFrame();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.