Skip to content

Commit 8ccaa06

Browse files
committed
Fix Window release
1 parent 10c6463 commit 8ccaa06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ccap_imp_windows.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@ bool ProviderDirectShow::open(std::string_view deviceName) {
714714
return false;
715715
}
716716
videoWindow->put_AutoShow(false);
717+
videoWindow->Release();
717718
}
718719

719720
CCAP_LOG_V("ccap: Graph built successfully.\n");

0 commit comments

Comments
 (0)