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
@@ -190,6 +190,9 @@ public:
// If the renderer doesn't provide an explicit test routine,
// we will always assume that any returned AVFrame can be
// rendered successfully.
//
// NB: The test frame passed to this callback may differ in
// dimensions from the actual video stream.
return true;
}