Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgstreamermediacapture.cpp File Reference
#include "qgstreamermediacapture_p.h"
#include "qgstreamermediaencoder_p.h"
#include "qgstreamerimagecapture_p.h"
#include "qgstreamercamera_p.h"
#include <qgstpipeline_p.h>
#include "qgstreameraudioinput_p.h"
#include "qgstreameraudiooutput_p.h"
#include "qgstreamervideooutput_p.h"
#include <qloggingcategory.h>
#include "moc_qgstreamermediacapture_p.cpp"
+ Include dependency graph for qgstreamermediacapture.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE void linkTeeToPad (QGstElement tee, QGstPad sink)
 
static void unlinkTeeFromPad (QGstElement tee, QGstPad sink)
 

Function Documentation

◆ linkTeeToPad()

static QT_BEGIN_NAMESPACE void linkTeeToPad ( QGstElement  tee,
QGstPad  sink 
)
static

Definition at line 18 of file qgstreamermediacapture.cpp.

References QGstElement::getRequestPad(), QGstObject::isNull(), and QGstPad::link().

Referenced by QGstreamerMediaCapture::linkEncoder(), QGstreamerMediaCapture::setAudioInput(), QGstreamerMediaCapture::setAudioOutput(), QGstreamerMediaCapture::setCamera(), and QGstreamerMediaCapture::setImageCapture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlinkTeeFromPad()

static void unlinkTeeFromPad ( QGstElement  tee,
QGstPad  sink 
)
static

Definition at line 27 of file qgstreamermediacapture.cpp.

References QGstObject::isNull(), and QGstElement::releaseRequestPad().

Referenced by QGstreamerMediaCapture::setAudioInput(), QGstreamerMediaCapture::setAudioOutput(), QGstreamerMediaCapture::setCamera(), QGstreamerMediaCapture::setImageCapture(), and QGstreamerMediaCapture::unlinkEncoder().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: