Repository navigation
rdk: Make HasLowResolution respect portrait resolution - #13527
Merged
Merged
Conversation
Contributor
|
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
johnedocampo
force-pushed
the
rdk_fix
branch
2 times, most recently
from
October 20, 2026 21:45
28049b7 to
1cb9593
Compare
johnedocampo
marked this pull request as ready for review
October 20, 2026 21:45
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the HasLowResolution method in player_internal.cc to compare resolution orientation-agnostically, ensuring portrait streams are treated the same as landscape equivalents. The review feedback suggests using auto instead of uint32_t for long_edge and short_edge to avoid potential signed/unsigned comparison warnings or build failures if width and height are stored as signed integers.
niranjanyardi
approved these changes
Oct 27, 2026
cobalt-github-releaser-bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
…solution Refer to original PR: #13527 The HasLowResolution check in the RDK player implementation previously relied on fixed width and height comparisons. This caused portrait content to be incorrectly categorized when the dimensions were swapped compared to standard landscape video. This update ensures that orientation does not affect whether a stream is identified as low resolution by checking the dimensions agnostically. This provides consistent behavior for both landscape and portrait orientations. Bug: 574136609 (cherry picked from commit 348295b)
cobalt-github-releaser-bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
…solution Refer to original PR: #13527 The HasLowResolution check in the RDK player implementation previously relied on fixed width and height comparisons. This caused portrait content to be incorrectly categorized when the dimensions were swapped compared to standard landscape video. This update ensures that orientation does not affect whether a stream is identified as low resolution by checking the dimensions agnostically. This provides consistent behavior for both landscape and portrait orientations. Bug: 574136609 (cherry picked from commit 348295b)
This was referenced Oct 29, 2026
briantting
pushed a commit
that referenced
this pull request
Nov 3, 2026
…solution Refer to original PR: #13527 The HasLowResolution check in the RDK player implementation previously relied on fixed width and height comparisons. This caused portrait content to be incorrectly categorized when the dimensions were swapped compared to standard landscape video. This update ensures that orientation does not affect whether a stream is identified as low resolution by checking the dimensions agnostically. This provides consistent behavior for both landscape and portrait orientations. Bug: 574136609 (cherry picked from commit 348295b)
This was referenced Nov 6, 2026
briantting
pushed a commit
that referenced
this pull request
Nov 9, 2026
…solution Refer to original PR: #13527 The HasLowResolution check in the RDK player implementation previously relied on fixed width and height comparisons. This caused portrait content to be incorrectly categorized when the dimensions were swapped compared to standard landscape video. This update ensures that orientation does not affect whether a stream is identified as low resolution by checking the dimensions agnostically. This provides consistent behavior for both landscape and portrait orientations. Bug: 574136609 (cherry picked from commit 348295b)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The HasLowResolution check in the RDK player implementation previously
relied on fixed width and height comparisons. This caused portrait
content to be incorrectly categorized when
the dimensions were swapped compared to standard landscape video.
This update ensures that orientation does not affect whether a stream
is identified as low resolution by checking the dimensions
agnostically. This provides consistent behavior for both landscape
and portrait orientations.
Bug: 574136609