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>
This commit is contained in:
committed by
Qt by Nokia
parent
942ff7a3c6
commit
8d63785425
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user