Deprecate instead of delete BaseRender.readSource(FormatHolder, DecoderInputBuffer)
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=148808381
This commit is contained in:
parent
5b98ff7246
commit
0dee4aec70
@ -254,6 +254,14 @@ public abstract class BaseRenderer implements Renderer, RendererCapabilities {
|
|||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use {@link #readSource(FormatHolder, DecoderInputBuffer, boolean)} instead.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
protected final int readSource(FormatHolder formatHolder, DecoderInputBuffer buffer) {
|
||||||
|
return readSource(formatHolder, buffer, false);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reads from the enabled upstream source. If the upstream source has been read to the end then
|
* Reads from the enabled upstream source. If the upstream source has been read to the end then
|
||||||
* {@link C#RESULT_BUFFER_READ} is only returned if {@link #setCurrentStreamFinal()} has been
|
* {@link C#RESULT_BUFFER_READ} is only returned if {@link #setCurrentStreamFinal()} has been
|
||||||
|
Loading…
x
Reference in New Issue
Block a user