Commit beed240a authored by VaL Doroshchuk's avatar VaL Doroshchuk
Browse files

Gstreamer: Fix undeclared identifier QGstVideoRendererSink in 0.10 ver


Task-number: QTBUG-70465
Change-Id: I6af46cb8de0b40dc41aaa0b999faf68d102c7b48
Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
parent cac5f507
No related merge requests found
Showing with 2 additions and 1 deletion
...@@ -113,7 +113,7 @@ void QGstreamerVideoRenderer::setSurface(QAbstractVideoSurface *surface) ...@@ -113,7 +113,7 @@ void QGstreamerVideoRenderer::setSurface(QAbstractVideoSurface *surface)
if (m_surface) { if (m_surface) {
connect(m_surface.data(), SIGNAL(supportedFormatsChanged()), connect(m_surface.data(), SIGNAL(supportedFormatsChanged()),
this, SLOT(handleFormatChange())); this, SLOT(handleFormatChange()));
QGstVideoRendererSink::setSurface(m_surface); QVideoSurfaceGstSink::setSurface(m_surface);
} }
if (wasReady != isReady()) if (wasReady != isReady())
......
...@@ -139,6 +139,7 @@ public: ...@@ -139,6 +139,7 @@ public:
GstVideoSink parent; GstVideoSink parent;
static QVideoSurfaceGstSink *createSink(QAbstractVideoSurface *surface); static QVideoSurfaceGstSink *createSink(QAbstractVideoSurface *surface);
static void setSurface(QAbstractVideoSurface *surface) { Q_UNUSED(surface); }
private: private:
static GType get_type(); static GType get_type();
......
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