Skip to content

Conversation

@cfsmp3
Copy link
Contributor

@cfsmp3 cfsmp3 commented Dec 14, 2025

Summary

Follow-up to PR #1769 - use the defined enum constant CCX_STREAM_TYPE_VIDEO_HEVC instead of the magic number 0x24 for better code maintainability and consistency.

Changes

  • Replace 0x24 with CCX_STREAM_TYPE_VIDEO_HEVC in PMT parsing condition
  • Simplify get_printable_stream_type() case statement by removing redundant assignment (the enum value passes through unchanged)
  • Update comment to list all three supported video stream types

Testing

Tested with ATSC 3.0 sample from issue #1639 - HEVC streams are still properly recognized.

🤖 Generated with Claude Code

Follow-up to PR #1769 - use the defined enum constant for HEVC stream
type (0x24) instead of magic numbers for better code maintainability.

Also simplifies the case statement in get_printable_stream_type() by
removing redundant assignment since the enum value passes through
unchanged.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cfsmp3 cfsmp3 merged commit 3738540 into master Dec 14, 2025
27 of 28 checks passed
@cfsmp3 cfsmp3 deleted the fix/hevc-enum-consistency branch December 19, 2025 06:03
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

Successfully merging this pull request may close these issues.

2 participants