Skip to content
Snippets Groups Projects
Commit e15e46fb authored by bodzsoaa's avatar bodzsoaa
Browse files

Revert "Update image format check"

This reverts commit 3abb0f22.
parent ebeb3607
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ MuebTransmitter::~MuebTransmitter() { delete d_ptr_; }
void MuebTransmitter::SendFrame(libmueb::Frame frame) {
Q_D(MuebTransmitter);
if (frame.isNull() || frame.format() != QImage::Format_RGB888 ||
if (frame.isNull() || frame.format() == QImage::Format_Invalid ||
frame.width() != d->configuration_.width() ||
frame.height() != d->configuration_.height()) {
qWarning() << "[MuebTransmitter] Frame is invalid";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment