Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QGstreamerBufferProbe Class Reference

#include <qgstreamerbufferprobe_p.h>

+ Inheritance diagram for QGstreamerBufferProbe:
+ Collaboration diagram for QGstreamerBufferProbe:

Public Types

enum  Flags { ProbeCaps = 0x01 , ProbeBuffers = 0x02 , ProbeAll = ProbeCaps | ProbeBuffers }
 

Public Member Functions

 QGstreamerBufferProbe (Flags flags=ProbeAll)
 
virtual ~QGstreamerBufferProbe ()
 
void addProbeToPad (GstPad *pad, bool downstream=true)
 
void removeProbeFromPad (GstPad *pad)
 

Protected Member Functions

virtual void probeCaps (GstCaps *caps)
 
virtual bool probeBuffer (GstBuffer *buffer)
 

Detailed Description

Definition at line 26 of file qgstreamerbufferprobe_p.h.

Member Enumeration Documentation

◆ Flags

Enumerator
ProbeCaps 
ProbeBuffers 
ProbeAll 

Definition at line 29 of file qgstreamerbufferprobe_p.h.

Constructor & Destructor Documentation

◆ QGstreamerBufferProbe()

QT_BEGIN_NAMESPACE QGstreamerBufferProbe::QGstreamerBufferProbe ( Flags  flags = ProbeAll)
explicit

Definition at line 9 of file qgstreamerbufferprobe.cpp.

◆ ~QGstreamerBufferProbe()

QGstreamerBufferProbe::~QGstreamerBufferProbe ( )
virtualdefault

Member Function Documentation

◆ addProbeToPad()

void QGstreamerBufferProbe::addProbeToPad ( GstPad *  pad,
bool  downstream = true 
)

Definition at line 16 of file qgstreamerbufferprobe.cpp.

References ProbeBuffers, ProbeCaps, and probeCaps().

Referenced by QGstreamerVideoOverlay::setVideoSink().

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

◆ probeBuffer()

bool QGstreamerBufferProbe::probeBuffer ( GstBuffer *  buffer)
protectedvirtual

Reimplemented in QGstreamerImageCapture.

Definition at line 54 of file qgstreamerbufferprobe.cpp.

◆ probeCaps()

void QGstreamerBufferProbe::probeCaps ( GstCaps *  caps)
protectedvirtual

Reimplemented in QGstreamerVideoOverlay.

Definition at line 50 of file qgstreamerbufferprobe.cpp.

Referenced by addProbeToPad().

+ Here is the caller graph for this function:

◆ removeProbeFromPad()

void QGstreamerBufferProbe::removeProbeFromPad ( GstPad *  pad)

Definition at line 38 of file qgstreamerbufferprobe.cpp.

Referenced by QGstreamerVideoOverlay::~QGstreamerVideoOverlay().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: