mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-01 03:53:37 +00:00
[dxgi/h264] fix failure to re-init h264 correctly
This commit is contained in:
parent
ef336d552c
commit
c650c2e474
1 changed files with 6 additions and 0 deletions
|
@ -246,6 +246,12 @@ bool DXGI::InitH264Capture()
|
||||||
|
|
||||||
void DXGI::DeInitialize()
|
void DXGI::DeInitialize()
|
||||||
{
|
{
|
||||||
|
if (m_h264)
|
||||||
|
{
|
||||||
|
delete m_h264;
|
||||||
|
m_h264 = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
ReleaseFrame();
|
ReleaseFrame();
|
||||||
|
|
||||||
if (m_pointer)
|
if (m_pointer)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue