Added setMaxFrameRate to ParametersBuilder

This commit is contained in:
Nicklas Lundin 2018-09-06 16:17:27 +02:00
parent 4c0041f936
commit 14f7b6111b

View File

@ -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.
*/ */