mirror of
https://github.com/androidx/media.git
synced 2025-05-16 12:09:50 +08:00
Remove deprecated method.
This commit is contained in:
parent
54b71a5743
commit
7437ee39d8
@ -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…
x
Reference in New Issue
Block a user