Commit da1722d3 authored by Harald Sitter's avatar Harald Sitter
Browse files

Also clear pending adjusts on connection to a MO

Otherwise one could have a videowidget attached to one MO, try to set adjusts, disconnect the videowidget before video becomes available, connect to a MO with different source before video becomes available there and see settings applied to a wrong video.
parent e46b1586
......@@ -76,6 +76,8 @@ void VideoWidget::connectToMediaObject(MediaObject *mediaObject)
// mediaObject->setVideoWidgetId(p_video_widget->winId());
......@@ -373,7 +375,6 @@ void VideoWidget::clearPendingAdjusts()
void VideoWidget::paintEvent(QPaintEvent *event)
if (m_customRender) {
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