summaryrefslogtreecommitdiffstats
path: root/src/multimedia/gsttools_headers
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2012-04-20 11:32:59 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-20 08:47:32 +0200
commite2f5779d2a918942d61e4ebf2acdc2ae5a97b5de (patch)
treeec74ac6dcdb1e166c76e2f2f28a8f1812e5b24cd /src/multimedia/gsttools_headers
parentc4cd9e711dbf52b8fbb0ebc563f33b440e5d88d6 (diff)
gst player: clear the buffer pool when the video sink is stopped
Buffers were kept allocated until the player is destroyed or next media played. Change-Id: I8a0c85da3a82ac6883075a1d0674143783c7f010 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/multimedia/gsttools_headers')
-rw-r--r--src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
index 6ee6907ab..c87db3aad 100644
--- a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
+++ b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
@@ -94,6 +94,7 @@ public:
QGstBufferPoolInterface *pool() { return m_pool; }
QMutex *poolMutex() { return &m_poolMutex; }
+ void clearPoolBuffers();
GstFlowReturn render(GstBuffer *buffer);