Commit 0dee4aec by sxp Committed by Oliver Woodman

Deprecate instead of delete BaseRender.readSource(FormatHolder, DecoderInputBuffer)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=148808381
parent 5b98ff72
......@@ -255,6 +255,14 @@ public abstract class BaseRenderer implements Renderer, RendererCapabilities {
}
/**
* 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
* {@link C#RESULT_BUFFER_READ} is only returned if {@link #setCurrentStreamFinal()} has been
* called. {@link C#RESULT_NOTHING_READ} is returned otherwise.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment