mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +08:00
22 lines
824 B
Diff
22 lines
824 B
Diff
commit 2db4c430740da89fb22319b2ded63e770f3d6fac
|
|
Author: Trever Fischer <tdfischer@fedoraproject.org>
|
|
Date: Sat Sep 22 19:41:14 2012 +0200
|
|
|
|
Use a sync connection to update the xvimagesink window handle
|
|
|
|
BUG: 305333
|
|
|
|
diff --git a/gstreamer/videowidget.cpp b/gstreamer/videowidget.cpp
|
|
index 96eea1c..3b38ab0 100644
|
|
--- a/gstreamer/videowidget.cpp
|
|
+++ b/gstreamer/videowidget.cpp
|
|
@@ -86,7 +86,7 @@ void VideoWidget::updateWindowID()
|
|
void VideoWidget::finalizeLink()
|
|
{
|
|
connect(root()->pipeline(), SIGNAL(mouseOverActive(bool)), this, SLOT(mouseOverActive(bool)));
|
|
- connect(root()->pipeline(), SIGNAL(windowIDNeeded()), this, SLOT(updateWindowID()));
|
|
+ connect(root()->pipeline(), SIGNAL(windowIDNeeded()), this, SLOT(updateWindowID()), Qt::DirectConnection);
|
|
}
|
|
|
|
void VideoWidget::prepareToUnlink()
|