obsproject / obsproject/obs-studio

Media Source set to 0x0 if transform is being modified when playback ends

Open
#2,310 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

issue/confirmed
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

  1. Add a media source
  2. While the source is playing, click and drag the bounding box and hold left mouse
  3. Wait for playback to end
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.