[dxgi/h264] fix failure to re-init h264 correctly

This commit is contained in:
Geoffrey McRae committed 2018-07-28 06:19:58 +10:00
1 parent ef336d552c
commit c650c2e474
1 file changed
+6
+6
View File
@@ -246,6 +246,12 @@ bool DXGI::InitH264Capture()
void DXGI::DeInitialize()
{
if (m_h264)
{
delete m_h264;
m_h264 = NULL;
}
ReleaseFrame();
if (m_pointer)