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

Method resetDecoder

YUViewLib/src/decoder/decoderHM.cpp:210–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void decoderHM::resetDecoder()
211{
212 // Delete decoder
213 if (decoder != nullptr)
214 if (this->lib.libHMDec_free_decoder(decoder) != LIBHMDEC_OK)
215 return setError("Reset: Freeing the decoder failed.");
216
217 decoderBase::resetDecoder();
218 decoder = nullptr;
219 decodedFrameWaiting = false;
220
221 // Create new decoder
222 allocateNewDecoder();
223}
224
225void decoderHM::allocateNewDecoder()
226{

Callers 2

seekToPositionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected