3#include <QtCore/QtTypes>
44 void onMapped() { _consecutiveMapFailures = 0; }
54 bool _demotionRecorded =
false;
55 bool _tiledDropLogged =
false;
56 quint64 _consecutiveMapFailures = 0;
What qgcqvideosink keeps about the path its frames take through one caps epoch, from set_caps to the ...
@ Drop
Drop the frame and go on.
void stop()
The sink stopped: as startEpoch(), and a run of map failures ends.
Verdict onMapFailed(const MappedFrame &mapped, SinkCounters &counters)
void onMapped()
The frame mapped: a run of failures ends.
static constexpr quint64 kMaxConsecutiveMapFailures
A run of map failures this long is a broken import, not a hiccup: the stream fails so it is set up an...
void onDelivered(const MappedFrame &mapped, SinkCounters &counters)
HwResolvedPathCache * pathCache()
For mapSampleToFrame(), which caches the path it resolves in the epoch.
quint64 consecutiveMapFailures() const
void startEpoch()
New caps: the path is resolved anew, and the once-per-epoch bookkeeping starts over.
qgcqvideosink's frame accounting: what its frames-input, frames-dropped and frames-delivered properti...
GstVideoSink that pushes decoded frames into a Qt QVideoSink; sole sink in qgcvideosinkbin....