Repository navigation
media: Launch FixNeedMoreInputBackpressure with max pending inputs size 512 - #13118
Merged
kjyoun merged 1 commit intoOct 7, 2026
Merged
Conversation
kjyoun
marked this pull request as ready for review
October 5, 2026 21:48
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
Contributor
There was a problem hiding this comment.
Code Review
This pull request simplifies the MediaCodecVideoDecoder by removing the experimental features kMediaFixNeedMoreInputBackpressure and kMediaVideoDecoderMaxPendingInputsSize, and hardcoding the maximum pending inputs size to 512 frames. Feedback on the changes highlights a potential build failure due to -Wsign-compare compiler warnings, where GetNumberOfPendingInputs() (returning size_t) is compared directly with the signed integer kMaxPendingInputsSize. It is recommended to restore the static_cast<size_t> casts to resolve this issue.
Contributor
|
…ze 512 With the CobaltFixNeedMoreInputBackpressure experiment (b/539672039) concluded, this change removes the temporary experiment flags (kMediaFixNeedMoreInputBackpressure and kMediaVideoDecoderMaxPendingInputsSize), enables the NEED_MORE_INPUT backpressure fix unconditionally, and sets kMaxPendingInputsSize to 512 frames. Experiment results showed that smaller caps (128 and 256 frames) caused YouTube Time regressions, whereas 512 frames fully recovered YouTube Time while reducing playback restarts (qoe.restart -4.96%) and CPU memory usage. Also removes the temporary kVideoFrameTrackerCapacityWithoutBackpressureFix workaround. Bug: 539672039 Bug: 517914191
kjyoun
force-pushed
the
launch-kMediaFixNeedMoreInputBackpressure
branch
from
October 5, 2026 22:20
edeeddd to
b9e22d3
Compare
jasonzhangxx
approved these changes
Oct 7, 2026
kjyoun
enabled auto-merge (squash)
October 7, 2026 18:11
briantting
pushed a commit
that referenced
this pull request
Oct 8, 2026
…h max pending inputs size 512 Refer to original PR: #13118 With the CobaltFixNeedMoreInputBackpressure experiment (b/539672039) concluded, this change removes the temporary experiment flags (kMediaFixNeedMoreInputBackpressure and kMediaVideoDecoderMaxPendingInputsSize), enables the NEED_MORE_INPUT backpressure fix unconditionally, and sets kMaxPendingInputsSize to 512 frames. Experiment results showed that smaller caps (128 and 256 frames) caused YouTube Time regressions, whereas 512 frames fully recovered YouTube Time while reducing playback restarts (qoe.restart -4.96%) and CPU memory usage. Also removes the temporary kVideoFrameTrackerCapacityWithoutBackpressureFix workaround. Bug: 539672039 Bug: 517914191 (cherry picked from commit af41bcb)
briantting
pushed a commit
that referenced
this pull request
Oct 16, 2026
…h max pending inputs size 512 Refer to original PR: #13118 With the CobaltFixNeedMoreInputBackpressure experiment (b/539672039) concluded, this change removes the temporary experiment flags (kMediaFixNeedMoreInputBackpressure and kMediaVideoDecoderMaxPendingInputsSize), enables the NEED_MORE_INPUT backpressure fix unconditionally, and sets kMaxPendingInputsSize to 512 frames. Experiment results showed that smaller caps (128 and 256 frames) caused YouTube Time regressions, whereas 512 frames fully recovered YouTube Time while reducing playback restarts (qoe.restart -4.96%) and CPU memory usage. Also removes the temporary kVideoFrameTrackerCapacityWithoutBackpressureFix workaround. Bug: 539672039 Bug: 517914191 (cherry picked from commit af41bcb)
briantting
pushed a commit
that referenced
this pull request
Oct 16, 2026
…h max pending inputs size 512 Refer to original PR: #13118 With the CobaltFixNeedMoreInputBackpressure experiment (b/539672039) concluded, this change removes the temporary experiment flags (kMediaFixNeedMoreInputBackpressure and kMediaVideoDecoderMaxPendingInputsSize), enables the NEED_MORE_INPUT backpressure fix unconditionally, and sets kMaxPendingInputsSize to 512 frames. Experiment results showed that smaller caps (128 and 256 frames) caused YouTube Time regressions, whereas 512 frames fully recovered YouTube Time while reducing playback restarts (qoe.restart -4.96%) and CPU memory usage. Also removes the temporary kVideoFrameTrackerCapacityWithoutBackpressureFix workaround. Bug: 539672039 Bug: 517914191 (cherry picked from commit af41bcb)
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.
With the CobaltFixNeedMoreInputBackpressure experiment (b/539672039) concluded, this change removes the temporary experiment flags (kMediaFixNeedMoreInputBackpressure and
kMediaVideoDecoderMaxPendingInputsSize), enables the NEED_MORE_INPUT backpressure fix unconditionally, and sets kMaxPendingInputsSize to 512 frames.
Experiment results showed that smaller caps (128 and 256 frames) caused YouTube Time regressions, whereas 512 frames fully recovered YouTube Time while reducing playback restarts (qoe.restart -4.96%) and CPU memory usage. Also removes the temporary
kVideoFrameTrackerCapacityWithoutBackpressureFix workaround.
Bug: 539672039
Bug: 517914191