Commit 5bb2efd5 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

rendermanager: fix video display on GNU/Linux

Gitlab: #515
Change-Id: Ib498932f9480896bc4e61fa035277b76297b2c89
parent 464e0c7d
......@@ -123,8 +123,9 @@ FrameWrapper::slotFrameUpdated(const std::string& id)
unsigned int width = renderer_->size().width();
unsigned int height = renderer_->size().height();
unsigned int size =;
#ifndef Q_OS_LINUX
unsigned int size =;
* If the frame is empty or not the expected size,
* do nothing and keep the last rendered QImage.
......@@ -137,6 +138,10 @@ FrameWrapper::slotFrameUpdated(const std::string& id)
if (frame_.ptr) {
image_.reset(new QImage(frame_.ptr, width, height, QImage::Format_ARGB32));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment