mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Remove deprecated method.
This commit is contained in:
parent
54b71a5743
commit
7437ee39d8
1 changed files with 1 additions and 11 deletions
|
|
@ -87,7 +87,7 @@ public class ChunkSampleSource implements SampleSource, Loader.Callback {
|
|||
private long currentLoadStartTimeMs;
|
||||
|
||||
private MediaFormat downstreamMediaFormat;
|
||||
private volatile Format downstreamFormat;
|
||||
private Format downstreamFormat;
|
||||
|
||||
public ChunkSampleSource(ChunkSource chunkSource, LoadControl loadControl,
|
||||
int bufferSizeContribution, boolean frameAccurateSeeking) {
|
||||
|
|
@ -120,16 +120,6 @@ public class ChunkSampleSource implements SampleSource, Loader.Callback {
|
|||
pendingResetPositionUs = NO_RESET_PENDING;
|
||||
}
|
||||
|
||||
/**
|
||||
* Exposes the current downstream format for debugging purposes. Can be called from any thread.
|
||||
*
|
||||
* @return The current downstream format.
|
||||
*/
|
||||
@Deprecated
|
||||
public Format getFormat() {
|
||||
return downstreamFormat;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean prepare() {
|
||||
Assertions.checkState(state == STATE_UNPREPARED);
|
||||
|
|
|
|||
Loading…
Reference in a new issue