Reuse the test decoder to improve startup performance
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue