mirror of
https://github.com/androidx/media.git
synced 2025-05-09 16:40:55 +08:00
Added setMaxFrameRate to ParametersBuilder
This commit is contained in:
parent
4c0041f936
commit
14f7b6111b
@ -523,6 +523,16 @@ public class DefaultTrackSelector extends MappingTrackSelector {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* See {@link Parameters#maxFrameRate}.
|
||||||
|
*
|
||||||
|
* @return This builder.
|
||||||
|
*/
|
||||||
|
public ParametersBuilder setMaxFrameRate(int maxFrameRate) {
|
||||||
|
this.maxFrameRate = maxFrameRate;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds a {@link Parameters} instance with the selected values.
|
* Builds a {@link Parameters} instance with the selected values.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user