Make setConstantBitrateSeekingEnabled consistent with other method

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=210093143
This commit is contained in:
olly 2018-08-24 07:00:47 -07:00 committed by Oliver Woodman
parent 3196bc40db
commit fdda2bb841

View File

@ -95,9 +95,12 @@ public final class DefaultExtractorsFactory implements ExtractorsFactory {
*
* @param constantBitrateSeekingEnabled Whether approximate seeking using a constant bitrate
* 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;
return this;
}
/**