This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
Shader filters applied to video input devices resize before show/hide transitions if device not at canvas resolution #578
Labels
enhancement
Enhancements
Milestone
Operating System
Windows 10 1903 and higher
OBS Studio Version?
27.0 (including Release Candidates)
StreamFX Version
0.10.1
Expected Behavior
When you attempt to show/hide the video input device, the image should simply cycle through the shader's transition effect, then vanish or appear, all while staying centered within the confines of the device's designated area on the OBS canvas. (Source border indicated by the blue/red resizable box)
Current Behavior
All of the expected behavior with one significant difference: just prior to the start of the transition effect, the image is scaled to the OBS "Base (Canvas) Resolution" proportional to any resizing the Source border has already had applied.
Steps to Reproduce the Bug
Example:
If the canvas was 1920x1080 and the camera was set to 1080, no erroneous effects would be noticed. However, if--for example--said camera was switched to 720 in OBS, the next time it was made to be shown or hidden, the image would be scaled up from its current adjustments proportional to how large it would be at 1080, then the effect would take place. To better explain the last part: if the image was made to encompass the entire canvas at 1080, then switched to 720 and not manually resized/scaled in any fashion, if the transition were to take effect it would do so while the image was now encompassing the entire screen again, as it would have been scaled back up to 1080. If, however, the 720 image had been manually scaled down by 50%, when the device was hidden, the image would still scale up to 1080, becoming larger, but would now no longer encompass the entire screen--it would be proportionally smaller. (50%)
OBS Studio Log
Log
OBS Studio Crash Log
Any additional Information we need to know?
I can be contacted in the StreamFX Discord under "Fox" if you require additional information. Thank you.
The text was updated successfully, but these errors were encountered: