mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Make setConstantBitrateSeekingEnabled consistent with other method
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=210093143
This commit is contained in:
parent
3196bc40db
commit
fdda2bb841
1 changed files with 4 additions and 1 deletions
|
|
@ -95,9 +95,12 @@ public final class DefaultExtractorsFactory implements ExtractorsFactory {
|
||||||
*
|
*
|
||||||
* @param constantBitrateSeekingEnabled Whether approximate seeking using a constant bitrate
|
* @param constantBitrateSeekingEnabled Whether approximate seeking using a constant bitrate
|
||||||
* assumption should be enabled for all extractors that support it.
|
* assumption should be enabled for all extractors that support it.
|
||||||
|
* @return The factory, for convenience.
|
||||||
*/
|
*/
|
||||||
public void setConstantBitrateSeekingEnabled(boolean constantBitrateSeekingEnabled) {
|
public synchronized DefaultExtractorsFactory setConstantBitrateSeekingEnabled(
|
||||||
|
boolean constantBitrateSeekingEnabled) {
|
||||||
this.constantBitrateSeekingEnabled = constantBitrateSeekingEnabled;
|
this.constantBitrateSeekingEnabled = constantBitrateSeekingEnabled;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue