diff --git a/library/src/main/java/com/google/android/exoplayer/chunk/FormatEvaluator.java b/library/src/main/java/com/google/android/exoplayer/chunk/FormatEvaluator.java index 7c88ff68a0..d9fa1985fc 100644 --- a/library/src/main/java/com/google/android/exoplayer/chunk/FormatEvaluator.java +++ b/library/src/main/java/com/google/android/exoplayer/chunk/FormatEvaluator.java @@ -115,6 +115,13 @@ public interface FormatEvaluator { this.random = new Random(); } + /** + * @param seed A seed for the underlying random number generator. + */ + public RandomEvaluator(int seed) { + this.random = new Random(seed); + } + @Override public void enable() { // Do nothing.