diff --git a/src/src/videowidget.cpp b/src/src/videowidget.cpp index 96ab54b8..96059df5 100644 --- a/src/src/videowidget.cpp +++ b/src/src/videowidget.cpp @@ -298,8 +298,8 @@ void videowidget::delayInit() connect(m_imgPrcThread, SIGNAL(SendMajorImageProcessing(QImage *, int)), this, SLOT(ReceiveMajorImage(QImage *, int))); connect(m_imgPrcThread, SIGNAL(sigRenderYuv(bool)), this, SLOT(ReceiveOpenGLstatus(bool))); - connect(m_imgPrcThread, &MajorImageProcessingThread::sigYUVFrame, - m_openglwidget, &PreviewOpenglWidget::slotShowYuv, + connect(m_imgPrcThread, SIGNAL(sigYUVFrame(std::shared_ptr,uint,uint)), + m_openglwidget, SLOT(slotShowYuv(std::shared_ptr,uint,uint)), Qt::DirectConnection); }