Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media source always played if close file when inactive is checked #10676

Open
Xarkam opened this issue May 15, 2024 · 3 comments
Open

Media source always played if close file when inactive is checked #10676

Xarkam opened this issue May 15, 2024 · 3 comments

Comments

@Xarkam
Copy link

Xarkam commented May 15, 2024

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/rOSyWMH7fRWelcVT

OBS Studio Crash Log URL

No response

Expected Behavior

The media source should not be played if the "close file when inactive" option is checked

Current Behavior

The media source is played even though the option has been checked so that obs does not do so.

I noticed that the progress bars for playing a media source below the preview moved even though I checked the option not to open the file if it is not visible. (the countdown also turns indicating the time already read on the media)

See screenshot below.

Steps to Reproduce

  1. Create group in Sources
  2. Add media source into group
  3. Hide group & media source
  4. Close Obs
  5. Open Obs and see media is read as muted

...

Anything else we should know?

image

@SuslikV
Copy link
Contributor

SuslikV commented May 16, 2024

It has nothing to do with grouping. If Restart playback when source becomes active option wasn't set then Media Source always started during OBS launch (even when it was disabled/invisible). Probably, VLC Video Source has better logic in handling media for such scenarios, there is option to Pause when not visible, unpause when visible.

Personally, I think it is bug, but it was so long in the code that now it is feature.

@Sugam-Chand-M
Copy link

Sugam-Chand-M commented May 21, 2024

Hi @Xarkam
Can you please provide a video recording of the issue.

@Xarkam
Copy link
Author

Xarkam commented May 21, 2024

Hi @Xarkam Can you please provide a video recording of the issue.

Yes.

2024-05-21.16-02-51.mp4

While recording the video, I wondered if it's not a bug updating the component in the window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants