diff options
Diffstat (limited to 'src/multimedia/gsttools_headers')
-rw-r--r-- | src/multimedia/gsttools_headers/qgstbufferpoolinterface_p.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/multimedia/gsttools_headers/qgstbufferpoolinterface_p.h b/src/multimedia/gsttools_headers/qgstbufferpoolinterface_p.h index 42c4fb55c..929e7c68f 100644 --- a/src/multimedia/gsttools_headers/qgstbufferpoolinterface_p.h +++ b/src/multimedia/gsttools_headers/qgstbufferpoolinterface_p.h @@ -73,16 +73,14 @@ public: virtual ~QGstBufferPoolInterface() {} virtual bool isFormatSupported(const QVideoSurfaceFormat &format) const = 0; - - virtual GType bufferType() const = 0; virtual GstBuffer *takeBuffer(const QVideoSurfaceFormat &format, GstCaps *caps) = 0; virtual void clear() = 0; virtual QAbstractVideoBuffer::HandleType handleType() const = 0; /*! - Build an QAbstractVideoBuffer instance from compatible (mathcing gst buffer type) - GstBuffer. + Build an QAbstractVideoBuffer instance from GstBuffer. + Returns NULL if GstBuffer is not compatible with this buffer pool. This method is called from gstreamer video sink thread. */ @@ -101,16 +99,14 @@ public: virtual ~QGstBufferPoolPlugin() {} virtual bool isFormatSupported(const QVideoSurfaceFormat &format) const = 0; - - virtual GType bufferType() const = 0; virtual GstBuffer *takeBuffer(const QVideoSurfaceFormat &format, GstCaps *caps) = 0; virtual void clear() = 0; virtual QAbstractVideoBuffer::HandleType handleType() const = 0; /*! - Build an QAbstractVideoBuffer instance from compatible (mathcing gst buffer type) - GstBuffer. + Build an QAbstractVideoBuffer instance from compatible GstBuffer. + Returns NULL if GstBuffer is not compatible with this buffer pool. This method is called from gstreamer video sink thread. */ |