Commit 8f0a9bad authored by Edric Milaret's avatar Edric Milaret

fix videowidget not being repaint on call end/hold

Change-Id: I15c8fe14b5ea0d56a288becc25965d0219d1aa9f
Tuleap: #281
parent 96826053
...@@ -59,6 +59,7 @@ VideoWidget::previewStopped() { ...@@ -59,6 +59,7 @@ VideoWidget::previewStopped() {
disconnect(previewRenderer_, SIGNAL(stopped()), disconnect(previewRenderer_, SIGNAL(stopped()),
this, SLOT(previewStopped())); this, SLOT(previewStopped()));
previewRenderer_ = nullptr; previewRenderer_ = nullptr;
repaint();
} }
void void
...@@ -160,6 +161,7 @@ VideoWidget::renderingStopped() { ...@@ -160,6 +161,7 @@ VideoWidget::renderingStopped() {
disconnect(renderer_, SIGNAL(frameUpdated()), this, SLOT(frameFromDistant())); disconnect(renderer_, SIGNAL(frameUpdated()), this, SLOT(frameFromDistant()));
disconnect(renderer_, SIGNAL(stopped()),this, SLOT(renderingStopped())); disconnect(renderer_, SIGNAL(stopped()),this, SLOT(renderingStopped()));
renderer_ = nullptr; renderer_ = nullptr;
repaint();
} }
void void
......
Markdown is supported
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