Commit 7d46be55 by krocard Committed by Oliver Woodman

Do not use no codec passthrough with a sourceDrmSession

PiperOrigin-RevId: 319183486
parent 22802506
...@@ -550,7 +550,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer { ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment