Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NVDEC: Fix blank screen when exiting playback for CUDA/NVDEC
- the hardware context was being re-created when GetFormat was called and the interop was not being deleted - so don't re-create without reason. - create our own CUDA context whose lifetime we can manage and hence allow us to release CUDA resources when the interop goes out of scope.
- Loading branch information
1 parent
421c0a7
commit 0b8a2f6
Showing
3 changed files
with
162 additions
and
81 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
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
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