summaryrefslogtreecommitdiffstats
path: root/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2012-03-14 11:52:43 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-14 04:47:51 +0100
commit8d637854254255860ac40dbe5a96328de99f6f7a (patch)
treebd3bbf1410f2c7569c073d8cd3064668846df4d9 /src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
parent942ff7a3c6d25dc3a79d28a79676b0995d95874b (diff)
gst video surface sink: start surface with correct handle type
The handle type should match one from the currently used buffer pool. Change-Id: I33f7856a742299ce0640f331898c3cbe5cfbdf97 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h')
-rw-r--r--src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h4
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);