summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-02-01 14:48:00 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-02-04 10:54:39 +0000
commitddf93e0e6e88e1f6d7a5119409ec734e99b9a310 (patch)
tree910df1a1b2f9b84f9ad3ba5f199d295f3f4d6651
parent8ca9765dabfd27d7c511e21e6862b24e46c2bf40 (diff)
Gstreamer: Return GstBuffer from QGstVideoBuffer
Useful to get some impl specific information from video buffer. Change-Id: I7fccf2855f0be180bd438a59e4fbaefce15b4ed8 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r--src/gsttools/qgstvideobuffer_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsttools/qgstvideobuffer_p.h b/src/gsttools/qgstvideobuffer_p.h
index c67c57021..6681070da 100644
--- a/src/gsttools/qgstvideobuffer_p.h
+++ b/src/gsttools/qgstvideobuffer_p.h
@@ -78,6 +78,7 @@ public:
~QGstVideoBuffer();
+ GstBuffer *buffer() const { return m_buffer; }
MapMode mapMode() const override;
#if GST_CHECK_VERSION(1,0,0)