mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Cleanup codec state reset methods in MediaCodecRenderer
- Remove duplicated null assignments - Move mediaCryptoRequiresSecureDecoder reset to be with all the other mediaCrypto stuff. PiperOrigin-RevId: 285955134
This commit is contained in:
parent
bf6e9c6144
commit
fdfbfc0b8e
1 changed files with 0 additions and 4 deletions
|
|
@ -840,10 +840,8 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
|||
resetCodecStateForFlush();
|
||||
|
||||
availableCodecInfos = null;
|
||||
codec = null;
|
||||
codecInfo = null;
|
||||
codecFormat = null;
|
||||
codecAdapter = null;
|
||||
codecOperatingRate = CODEC_OPERATING_RATE_UNSET;
|
||||
codecAdaptationWorkaroundMode = ADAPTATION_WORKAROUND_MODE_NEVER;
|
||||
codecNeedsReconfigureWorkaround = false;
|
||||
|
|
@ -856,8 +854,6 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
|||
codecReconfigured = false;
|
||||
codecReconfigurationState = RECONFIGURATION_STATE_NONE;
|
||||
resetCodecBuffers();
|
||||
|
||||
mediaCrypto = null;
|
||||
mediaCryptoRequiresSecureDecoder = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue