Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #10745. close & reopen H.264 codec when necessary.
The libav H.264 decoder doesn't support resolution changes in multithreaded mode. When we detect a resolution change in this mode we now close and reopen the codec. jya came up with the workaround, I just refined it a little bit.
- Loading branch information
1 parent
83e227a
commit 7593192
Showing
1 changed file
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters