summaryrefslogtreecommitdiffstats
path: root/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h')
-rw-r--r--src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
index 0b253462e..e8f61afe0 100644
--- a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
+++ b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
@@ -88,6 +88,8 @@ public:
bool start(const QVideoSurfaceFormat &format, int bytesPerLine);
void stop();
+ void unlock();
+
bool isActive();
QGstBufferPoolInterface *pool() { return m_pool; }
@@ -148,6 +150,8 @@ private:
static gboolean start(GstBaseSink *sink);
static gboolean stop(GstBaseSink *sink);
+ static gboolean unlock(GstBaseSink *sink);
+
static GstFlowReturn show_frame(GstVideoSink *sink, GstBuffer *buffer);
private: