Skip to content

CapView 1.6.1

Choose a tag to compare

@NuclearMeltdown NuclearMeltdown released this 24 Aug 10:02
· 40 commits to main since this release

Bugfix release, mostly the settings-as-a-window mode.

Stuttering — including the desktop's own mouse cursor. The settings window's frame was drawn and presented from inside the preview's frame, and presenting a second swapchain part-way through another window's frame flushes everything already queued for it, sixty times a second. It runs after the preview's present now. The preview loop also free-ran at up to 125 Hz whenever the settings were open, redrawing the same captured field through the whole pipeline; that is 16 ms now.

No taskbar button, and minimising put it in a corner of the screen. One cause: an owned window without WS_EX_APPWINDOW is deliberately kept off the taskbar, and a window with no taskbar button has nowhere to go when minimised. Fixing that exposed a second fault — reopening the settings after minimising them did nothing, because SW_SHOW displays a minimised window still minimised.

Switching back to settings-in-the-picture broke the whole interface until restart. Two ImGui contexts share one font atlas, and the DX11 backend keeps the atlas's texture id in the atlas — so closing the second window released the texture the first was still drawing with.

Dot crawl is two controls now. They were always two bargains: averaging costs nothing and only helps a standing picture, demodulation is the only thing that helps a moving one and costs sharpness. One slider hid that the first step did most of the work. The averaging locks on whenever demodulation is asked for, and the slider now says what it costs.

Also: a help marker was on the wrong checkbox, showing the toolbar had no setting at all, the ffmpeg block moved around depending on whether ffmpeg was found, two sections were both called "Window", the settings window had no icon, and its present ignored occlusion.