summaryrefslogtreecommitdiff
path: root/elements/gstqtvideosink/gstqtglvideosink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'elements/gstqtvideosink/gstqtglvideosink.cpp')
-rw-r--r--elements/gstqtvideosink/gstqtglvideosink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/elements/gstqtvideosink/gstqtglvideosink.cpp b/elements/gstqtvideosink/gstqtglvideosink.cpp
index 5cbf204..27307f6 100644
--- a/elements/gstqtvideosink/gstqtglvideosink.cpp
+++ b/elements/gstqtvideosink/gstqtglvideosink.cpp
@@ -113,7 +113,7 @@ void GstQtGLVideoSink::init(GTypeInstance *instance, gpointer g_class)
Q_UNUSED(g_class);
GstQtVideoSinkBase *sinkBase = GST_QT_VIDEO_SINK_BASE(instance);
- sinkBase->delegate = new QtVideoSinkDelegate(sinkBase);
+ sinkBase->delegate = new QtVideoSinkDelegate(GST_ELEMENT(sinkBase));
}
//------------------------------