Reuse the test decoder to improve startup performance

This commit is contained in:
Cameron Gutman
2025-12-23 00:32:36 -06:00
parent d501a627f0
commit a6f8901a18
3 changed files with 61 additions and 23 deletions
+2
View File
@@ -79,6 +79,8 @@ private:
bool initializeRendererInternal(IFFmpegRenderer* renderer, PDECODER_PARAMETERS params);
static bool isSeparateTestDecoderRequired(const AVCodec* decoder);
void reset();
void writeBuffer(PLENTRY entry, int& offset);