| Index: components/cdm/browser/widevine_drm_delegate_android.cc
|
| diff --git a/components/cdm/browser/widevine_drm_delegate_android.cc b/components/cdm/browser/widevine_drm_delegate_android.cc
|
| index ba091430f3b79867f088490787f54af6919c79eb..d4133eeeb0bc52d1ca9f0abc0f0e258a935204fa 100644
|
| --- a/components/cdm/browser/widevine_drm_delegate_android.cc
|
| +++ b/components/cdm/browser/widevine_drm_delegate_android.cc
|
| @@ -36,9 +36,13 @@ bool WidevineDrmDelegateAndroid::OnCreateSession(
|
| if (init_data_type != media::EmeInitDataType::CENC)
|
| return true;
|
|
|
| +#if defined(PROPRIETARY_CODECS)
|
| // Widevine MediaDrm plugin only accepts the "data" part of the PSSH box as
|
| // the init data when using MP4 container.
|
| return media::GetPsshData(init_data, GetUUID(), init_data_out);
|
| +#else
|
| + return false;
|
| +#endif
|
| }
|
|
|
| } // namespace cdm
|
|
|