Skip to content

Commit

Permalink
fix issue with window capture
Browse files Browse the repository at this point in the history
  • Loading branch information
aza547 committed Jan 5, 2025
1 parent 47108cb commit 141fdd0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
### Added
### Fixed

## [6.5.1] - 2025-01-05
### Fixed
- Fix some missing translations.
- Fix a bug with Window capture mode not correctly setting up the scene.

Expand Down
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "WarcraftRecorder",
"version": "6.5.0",
"version": "6.5.1",
"description": "A World of Warcraft screen recorder",
"main": "./dist/main/main.js",
"author": {
Expand Down
9 changes: 6 additions & 3 deletions src/main/Recorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1595,9 +1595,12 @@ export default class Recorder extends EventEmitter {
*/
private static findWowWindow(src: IInput) {
// The source properties are cached by OSN, so update an irrelevant
// setting to force a refresh. This relies on some internals of OSN
// which update the cache to refresh on calling the update function.
// See "osn::ISource::Update" in isource.cpp for more details.
// setting to force a refresh. This refreshes the window list within
// the properties object.
//
// This relies on some internals of OSN which update the cache to
// refresh on calling the update function. See "osn::ISource::Update"
// in isource.cpp for more details.
const { settings } = src;
settings.refresh = uuidv4();
src.update(settings);
Expand Down

0 comments on commit 141fdd0

Please sign in to comment.