summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video/qvideoframe.h
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-02-01 14:41:16 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-02-04 10:58:36 +0000
commit1b7b651364e3888794cfd071ce6cb92beb2242f7 (patch)
treefb4011b1b623f090dc46a7b8c9a92169dd66bd94 /src/multimedia/video/qvideoframe.h
parentddf93e0e6e88e1f6d7a5119409ec734e99b9a310 (diff)
Introduce QVideoFrame::buffer()
Returns video buffer if available. Is useful when need to get an access to impl specific data. Change-Id: I6b9855397db2396ed0a76835d083be0457721f9b Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/multimedia/video/qvideoframe.h')
-rw-r--r--src/multimedia/video/qvideoframe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideoframe.h b/src/multimedia/video/qvideoframe.h
index 2d906cb7c..375f80dac 100644
--- a/src/multimedia/video/qvideoframe.h
+++ b/src/multimedia/video/qvideoframe.h
@@ -120,6 +120,7 @@ public:
bool operator==(const QVideoFrame &other) const;
bool operator!=(const QVideoFrame &other) const;
+ QAbstractVideoBuffer *buffer() const;
bool isValid() const;
PixelFormat pixelFormat() const;