MCPcopy Create free account
hub / github.com/IENT/YUView / resetDecoder

Method resetDecoder

YUViewLib/src/decoder/decoderLibde265.cpp:115–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void decoderLibde265::resetDecoder()
116{
117 if (!this->decoder)
118 return;
119
120 de265_error err = this->lib.de265_free_decoder(this->decoder);
121 if (err != DE265_OK)
122 return setError("Reset: Freeing the decoder failed.");
123
124 decoderBase::resetDecoder();
125 this->decoder = nullptr;
126 this->decodedFrameWaiting = false;
127
128 this->allocateNewDecoder();
129}
130
131void decoderLibde265::setDecodeSignal(int signalID, bool &decoderResetNeeded)
132{

Callers

nothing calls this directly

Calls 1

allocateNewDecoderMethod · 0.95

Tested by

no test coverage detected