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

libobs: Fix obs_parse_avc_header missing high profile parameters #10657

Merged
merged 1 commit into from
May 10, 2024

Conversation

derrod
Copy link
Member

@derrod derrod commented May 9, 2024

Description

Adds extended information for high* profiles to obs_parse_avc_header().

Motivation and Context

When testing #10608 I received a warning from a third party tool that the AVCDecoderConfigurationRecord produced by obs_parse_avc_header() was missing these things.

ISO/IEC 14496-15 Section 5.3.3.1.2 says this should be present for high/high10/high422/high444 profiles (high and high444 are supported by OBS).

Given that nobody cared for the past 10 years this is not critical, but still nice to be correct.

How Has This Been Tested?

Recorded a video with #10608 and validated the data is now present.

Types of changes

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

Checklist:

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

@derrod derrod added the Bug Fix Non-breaking change which fixes an issue label May 9, 2024
Copy link
Member

@RytoEX RytoEX left a comment

Choose a reason for hiding this comment

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

Nits.

libobs/obs-avc.c Outdated Show resolved Hide resolved
libobs/obs-avc.c Show resolved Hide resolved
Copy link
Member

@RytoEX RytoEX left a comment

Choose a reason for hiding this comment

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

Seems fine.

@RytoEX RytoEX added this to the OBS Studio (Next Version) milestone May 10, 2024
@RytoEX RytoEX merged commit 279e942 into obsproject:master May 10, 2024
14 checks passed
@derrod derrod deleted the fix-avcc branch May 11, 2024 07:33
@derrod derrod mentioned this pull request May 11, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants