diff options
Diffstat (limited to 'src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h')
-rw-r--r-- | src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h index 143f65d22..6ee6907ab 100644 --- a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h +++ b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h @@ -134,7 +134,9 @@ public: GstVideoSink parent; static QVideoSurfaceGstSink *createSink(QAbstractVideoSurface *surface); - static QVideoSurfaceFormat formatForCaps(GstCaps *caps, int *bytesPerLine = 0); + static QVideoSurfaceFormat formatForCaps(GstCaps *caps, + int *bytesPerLine = 0, + QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle); static void setFrameTimeStamps(QVideoFrame *frame, GstBuffer *buffer); static void handleShowPrerollChange(GObject *o, GParamSpec *p, gpointer d); |