[mythtv-commits] [MythTV/mythtv] 0b8a2f: NVDEC: Fix blank screen when exiting playback for ...

Mark Kendall noreply at github.com
Tue Apr 23 08:14:10 UTC 2019


  Branch: refs/heads/devel/2019-render
  Home:   https://github.com/MythTV/mythtv
  Commit: 0b8a2f631c1b84d2fdd19c246df36986d1920804
      https://github.com/MythTV/mythtv/commit/0b8a2f631c1b84d2fdd19c246df36986d1920804
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-04-23 (Tue, 23 Apr 2019)

  Changed paths:
    M mythtv/libs/libmythtv/mythnvdeccontext.cpp
    M mythtv/libs/libmythtv/mythnvdecinterop.cpp
    M mythtv/libs/libmythtv/mythnvdecinterop.h

  Log Message:
  -----------
  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.




More information about the mythtv-commits mailing list