mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix parameter name mismatch in MappingTrackSelector.selectTracks
It's not clear to me why presubmit didn't catch this, I briefly investigated but couldn't work it out - so I'm just going to fix it and move on. #minor-release PiperOrigin-RevId: 487497827
This commit is contained in:
parent
b24161a6f6
commit
4fcc019bbf
3 changed files with 4 additions and 4 deletions
|
|
@ -2392,7 +2392,7 @@ public class DefaultTrackSelector extends MappingTrackSelector {
|
||||||
selectTracks(
|
selectTracks(
|
||||||
MappedTrackInfo mappedTrackInfo,
|
MappedTrackInfo mappedTrackInfo,
|
||||||
@Capabilities int[][][] rendererFormatSupports,
|
@Capabilities int[][][] rendererFormatSupports,
|
||||||
@AdaptiveSupport int[] rendererMixedMimeTypeAdaptationSupports,
|
@AdaptiveSupport int[] rendererMixedMimeTypeAdaptationSupport,
|
||||||
MediaPeriodId mediaPeriodId,
|
MediaPeriodId mediaPeriodId,
|
||||||
Timeline timeline)
|
Timeline timeline)
|
||||||
throws ExoPlaybackException {
|
throws ExoPlaybackException {
|
||||||
|
|
@ -2412,7 +2412,7 @@ public class DefaultTrackSelector extends MappingTrackSelector {
|
||||||
selectAllTracks(
|
selectAllTracks(
|
||||||
mappedTrackInfo,
|
mappedTrackInfo,
|
||||||
rendererFormatSupports,
|
rendererFormatSupports,
|
||||||
rendererMixedMimeTypeAdaptationSupports,
|
rendererMixedMimeTypeAdaptationSupport,
|
||||||
parameters);
|
parameters);
|
||||||
|
|
||||||
applyTrackSelectionOverrides(mappedTrackInfo, parameters, definitions);
|
applyTrackSelectionOverrides(mappedTrackInfo, parameters, definitions);
|
||||||
|
|
|
||||||
|
|
@ -436,7 +436,7 @@ public abstract class MappingTrackSelector extends TrackSelector {
|
||||||
* Given mapped track information, returns a track selection and configuration for each renderer.
|
* Given mapped track information, returns a track selection and configuration for each renderer.
|
||||||
*
|
*
|
||||||
* @param mappedTrackInfo Mapped track information.
|
* @param mappedTrackInfo Mapped track information.
|
||||||
* @param rendererFormatSupports The {@link Capabilities} for ach mapped track, indexed by
|
* @param rendererFormatSupports The {@link Capabilities} for each mapped track, indexed by
|
||||||
* renderer, track group and track (in that order).
|
* renderer, track group and track (in that order).
|
||||||
* @param rendererMixedMimeTypeAdaptationSupport The {@link AdaptiveSupport} for mixed MIME type
|
* @param rendererMixedMimeTypeAdaptationSupport The {@link AdaptiveSupport} for mixed MIME type
|
||||||
* adaptation for the renderer.
|
* adaptation for the renderer.
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ public final class MappingTrackSelectorTest {
|
||||||
protected Pair<RendererConfiguration[], ExoTrackSelection[]> selectTracks(
|
protected Pair<RendererConfiguration[], ExoTrackSelection[]> selectTracks(
|
||||||
MappedTrackInfo mappedTrackInfo,
|
MappedTrackInfo mappedTrackInfo,
|
||||||
@Capabilities int[][][] rendererFormatSupports,
|
@Capabilities int[][][] rendererFormatSupports,
|
||||||
@AdaptiveSupport int[] rendererMixedMimeTypeAdaptationSupports,
|
@AdaptiveSupport int[] rendererMixedMimeTypeAdaptationSupport,
|
||||||
MediaPeriodId mediaPeriodId,
|
MediaPeriodId mediaPeriodId,
|
||||||
Timeline timeline) {
|
Timeline timeline) {
|
||||||
int rendererCount = mappedTrackInfo.getRendererCount();
|
int rendererCount = mappedTrackInfo.getRendererCount();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue