summaryrefslogtreecommitdiff
path: root/tests/examples/gl/qt/qglwidgetvideooverlay/pipeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/gl/qt/qglwidgetvideooverlay/pipeline.h')
-rw-r--r--tests/examples/gl/qt/qglwidgetvideooverlay/pipeline.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/examples/gl/qt/qglwidgetvideooverlay/pipeline.h b/tests/examples/gl/qt/qglwidgetvideooverlay/pipeline.h
index 459d117e0..294cb8fe5 100644
--- a/tests/examples/gl/qt/qglwidgetvideooverlay/pipeline.h
+++ b/tests/examples/gl/qt/qglwidgetvideooverlay/pipeline.h
@@ -37,7 +37,7 @@ public:
void stop();
void unconfigure() const;
void show();
- GstElement* getVideoSink() { return m_glupload; } ;
+ GstElement* getVideoSink() { return m_glimagesink; } ;
signals:
void showRequested();
@@ -49,7 +49,6 @@ private:
GMainLoop* m_loop;
GstBus* m_bus;
GstElement* m_pipeline;
- GstElement* m_glupload;
GstElement* m_glimagesink;
static float m_xrot;
static float m_yrot;
@@ -59,8 +58,8 @@ private:
WId winId() const { return m_winId; }
void doExpose() const;
- static gboolean reshapeCallback (void *sink, void *context, guint width, guint height, gpointer data);
- static gboolean drawCallback (void *sink, void *context, guint texture, guint width, guint height, gpointer data);
+ static gboolean reshapeCallback (GstElement *sink, void *context, guint width, guint height, gpointer data);
+ static gboolean drawCallback (GstElement *sink, void *context, GstSample * sample, gpointer data);
static gboolean bus_call (GstBus *bus, GstMessage *msg, Pipeline* p);
static void cb_new_pad (GstElement* decodebin, GstPad* pad, Pipeline* p);
static gboolean cb_expose (gpointer data);