obsproject / obsproject/obs-studio
Media Source set to 0x0 if transform is being modified when playback ends
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Expected Behavior
Sources should not be set to 0x0
Current Behavior
When playing back a media source, if you are editing the size or scale of it when playback ends, the size of the source is set to 0x0, meaning that it is no longer visible in the preview.
Steps to Reproduce
- Add a media source
- While the source is playing, click and drag the bounding box and hold left mouse
- Wait for playback to end
- Bounding box will disappear, and source will be set to 0x0
Video: https://pub.rachni.com/vid/2020-01-10_14-47-43.webm
Additional information
Repro'd 100% of the time on Windows 10 x64, OBS v24.0.3. Oddly, appears that simply moving a source does not trigger this, but changing the size does. I have not tested other platforms.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in OBS on Windows using the listed media-source steps and the linked video as reference. Trace the media source playback-end handling alongside bounding-box resizing, then verify that ending playback during a size change leaves the source visible with a nonzero size.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100