GStreamer backend changes for media probing API.
QGstreamerPlayerSession: Using GStreamer buffer probes to access media data. Change-Id: Ibc056283fdedaebba90456cc4e86ab63eae5f5f7 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
4f38f950b0
commit
0374f0de5e
@@ -55,6 +55,7 @@
|
||||
|
||||
#include <QtCore/qmap.h>
|
||||
#include <gst/gst.h>
|
||||
#include <qaudioformat.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
@@ -67,6 +68,7 @@ namespace QGstUtils {
|
||||
|
||||
QSize capsResolution(const GstCaps *caps);
|
||||
QSize capsCorrectedResolution(const GstCaps *caps);
|
||||
QAudioFormat audioFormatForCaps(const GstCaps *caps);
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -135,6 +135,7 @@ public:
|
||||
|
||||
static QVideoSurfaceGstSink *createSink(QAbstractVideoSurface *surface);
|
||||
static QVideoSurfaceFormat formatForCaps(GstCaps *caps, int *bytesPerLine = 0);
|
||||
static void setFrameTimeStamps(QVideoFrame *frame, GstBuffer *buffer);
|
||||
|
||||
static void handleShowPrerollChange(GObject *o, GParamSpec *p, gpointer d);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user