mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08: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
@ -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…
x
Reference in New Issue
Block a user