Skip to content

libobs: Fix monitoring for media with cover art - #14091

Merged
Warchamp7 merged 1 commit into
obsproject:masterfrom
prgmitchell:coverArtFix
Nov 28, 2026
Merged

Warchamp7 merged 1 commit into
obsproject:masterfrom
prgmitchell:coverArtFix

Conversation

@prgmitchell

@prgmitchell prgmitchell commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Description

Fix audio monitoring going silent after restarting media with embedded cover art by correctly updating the last video timestamp. Previously playback restarted and produced a new cover art timestamp but OBS never saved the new value so the timeout kept getting reset.

Motivation and Context

Reported in the Discord server today so I took a look at it
Fixes #9428
Fixes #11739

How Has This Been Tested?

Tested by monitoring a mp3 with covert art and toggling visibility on it. On v33 you have to toggle monitoring for it to start working again, after this change monitoring continues to work as expected.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@prgmitchell prgmitchell added the kind/bug Categorizes issue or PR as related to a bug. label Oct 26, 2026

@Warchamp7 Warchamp7 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeeeems correct? Testing confirms it fixes the issue and I wasn't able to find any regressions testing game capture and some media sources.

RytoEX
RytoEX previously requested changes Oct 29, 2026

@RytoEX RytoEX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit nit:

  • libsobs -> libobs

Alternatively:

  • libobs/audio-monitoring:
  • audio-monitoring:

@Warchamp7 Warchamp7 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to address this in the monitoring paths for macOS / Linux as well

@prgmitchell

prgmitchell commented Oct 29, 2026 •

Copy link
Copy Markdown
Member Author

@Warchamp7 I was under the impression that this was a windows only bug since macOs and linux do not have this same video timestamp logic. I attempted to repro on my macOS system and could not but I do not have a linux installation. were you able to repro on either of those OS's?

@prgmitchell prgmitchell changed the title libsobs: Fix monitoring for media with cover art libobs: Fix monitoring for media with cover art Oct 29, 2026
Fix audio monitoring going silent after restarting media with embedded
cover art by correctly updating the last video timestamp.
@prgmitchell

Copy link
Copy Markdown
Member Author

Commit nit:

* libsobs -> libobs

Alternatively:

* libobs/audio-monitoring:

* audio-monitoring:

updated

@Warchamp7

Copy link
Copy Markdown
Member

@Warchamp7 I was under the impression that this was a windows only bug since macOs and linux do not have this same video timestamp logic. I attempted to repro on my macOS system and could not but I do not have a linux installation. were you able to repro on either of those OS's?

I was making a blind assumption that the monitoring logic was similar on other platforms. If this does not apply there, then great.

@Warchamp7 Warchamp7 moved this from Requires Changes to Ready For Merge in Next Release Tracker (33.2) Oct 30, 2026
@Warchamp7
Warchamp7 dismissed RytoEX’s stale review November 28, 2026 10:02

Feedback addressed

@Warchamp7
Warchamp7 merged commit 6b65810 into obsproject:master Nov 28, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this from Ready For Merge to Merged in Next Release Tracker (33.2) Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/audio area/libobs kind/bug Categorizes issue or PR as related to a bug.

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

when switch between scenes music with album covers cause audio monitoring malfunction OBS Studio refuses to monitor AND output certain mp3 files

3 participants