summaryrefslogtreecommitdiff
path: root/tests/examples/gl/qt/qglwtextureshare/gstthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/gl/qt/qglwtextureshare/gstthread.cpp')
-rw-r--r--tests/examples/gl/qt/qglwtextureshare/gstthread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/examples/gl/qt/qglwtextureshare/gstthread.cpp b/tests/examples/gl/qt/qglwtextureshare/gstthread.cpp
index 2a1ff6979..25d1890bd 100644
--- a/tests/examples/gl/qt/qglwtextureshare/gstthread.cpp
+++ b/tests/examples/gl/qt/qglwtextureshare/gstthread.cpp
@@ -23,15 +23,15 @@
#include "gstthread.h"
-GstThread::GstThread(GstGLContext *context,
+GstThread::GstThread(GstGLDisplay *display,
+ GstGLContext *context,
const QString &videoLocation,
const char *renderer_slot,
QObject *parent):
QThread(parent),
m_videoLocation(videoLocation)
{
- this->context = context;
- m_pipeline = new Pipeline(this->context, m_videoLocation, this);
+ m_pipeline = new Pipeline(display, context, m_videoLocation, this);
QObject::connect(m_pipeline, SIGNAL(newFrameReady()), this->parent(), renderer_slot, Qt::QueuedConnection);
}