mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
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
1 changed files with 8 additions and 0 deletions
|
|
@ -254,6 +254,14 @@ public abstract class BaseRenderer implements Renderer, RendererCapabilities {
|
|||
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
|
||||
* {@link C#RESULT_BUFFER_READ} is only returned if {@link #setCurrentStreamFinal()} has been
|
||||
|
|
|
|||
Loading…
Reference in a new issue