Skip to content

Enum values that ignore naming conventions in Media Capabilities #227

Open

Description

@dontcallmedom-bot

While crawling Media Capabilities, the following enum values were found to ignore naming conventions (lower case, hyphen separated words):

  • The value "smpteSt2086" of the enum HdrMetadataType does not match the expected conventions (lower case, hyphen separated words)
  • The value "smpteSt2094-10" of the enum HdrMetadataType does not match the expected conventions (lower case, hyphen separated words)
  • The value "smpteSt2094-40" of the enum HdrMetadataType does not match the expected conventions (lower case, hyphen separated words)

See Use casing rules consistent with existing APIs in Web Platform Design Principles document for guidance.

This issue was detected and reported semi-automatically by Strudy based on data collected in webref.

Activity

  1. self-assigned this
    on Sep 23, 2024
  2. markafoltz commented on Sep 23, 2024

    @markafoltz
    Contributor

    I'm self assigning but not committing to making any changes here. Questions I have:

    • Were these names chosen intentionally to match SMTPE standards IDs?
    • How much effort is needed across the ecosystem to migrate?
  3. markafoltz commented on Oct 28, 2024

    @markafoltz
    Contributor

    Answering question 1:

    Yes, they correspond to the following specification names, like e.g. SMPTE ST-2086

    I suppose these could have been converted to e.g. smpte-st-2086 enum values instead.

    Note, that the spec links in the biblio for these formats are currently broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions