mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Do not use no codec passthrough with a sourceDrmSession
PiperOrigin-RevId: 319183486
This commit is contained in:
parent
22802506cd
commit
7d46be5564
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
|||
return;
|
||||
}
|
||||
|
||||
if (inputFormat.drmInitData == null && usePassthrough(inputFormat)) {
|
||||
if (sourceDrmSession == null && usePassthrough(inputFormat)) {
|
||||
initPassthrough(inputFormat);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue