~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/patches/fix_building_widevinecdm_with_chromium.patch

  • Committer: Chad MILLER
  • Date: 2016-09-28 23:32:37 UTC
  • Revision ID: chad.miller@canonical.com-20160928233237-fng99by6se4l5cl4
debian/patches/series, debian/rules: Re-enable widevine component.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
     content::WebPluginMimeType widevine_cdm_mime_type(
12
12
         kWidevineCdmPluginMimeType, kWidevineCdmPluginExtension,
13
13
         kWidevineCdmPluginMimeTypeDescription);
 
14
--- a/third_party/widevine/cdm/widevine_cdm_common.h
 
15
+++ b/third_party/widevine/cdm/widevine_cdm_common.h
 
16
@@ -56,7 +56,7 @@ const char kCdmSupportedCodecVp9[] = "vp
 
17
 const char kCdmSupportedCodecAvc1[] = "avc1";
 
18
 #endif  // defined(USE_PROPRIETARY_CODECS)
 
19
 
 
20
-#if defined(OS_MACOSX) || defined(OS_WIN)
 
21
+#if defined(OS_MACOSX) || defined(OS_WIN) || 1
 
22
 // CDM is installed by the component installer instead of the Chrome installer.
 
23
 #define WIDEVINE_CDM_IS_COMPONENT
 
24
 #endif  // defined(OS_MACOSX) || defined(OS_WIN)