mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inputFormat.drmInitData == null && usePassthrough(inputFormat)) {
|
if (sourceDrmSession == null && usePassthrough(inputFormat)) {
|
||||||
initPassthrough(inputFormat);
|
initPassthrough(inputFormat);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue