mirror of
https://github.com/androidx/media.git
synced 2025-05-09 16:40:55 +08:00
Do not use no codec passthrough with a sourceDrmSession
PiperOrigin-RevId: 319183486
This commit is contained in:
parent
22802506cd
commit
7d46be5564
@ -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…
x
Reference in New Issue
Block a user