mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Use provided Format in shouldUseBypass check
#minor-release PiperOrigin-RevId: 529708020
This commit is contained in:
parent
954b694b42
commit
b69b3423c3
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
||||||
* @return Whether playback bypassing {@link MediaCodec} is possible.
|
* @return Whether playback bypassing {@link MediaCodec} is possible.
|
||||||
*/
|
*/
|
||||||
protected final boolean isBypassPossible(Format format) {
|
protected final boolean isBypassPossible(Format format) {
|
||||||
return sourceDrmSession == null && shouldUseBypass(inputFormat);
|
return sourceDrmSession == null && shouldUseBypass(format);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue