diff options
Diffstat (limited to 'browser-layer/recipes-browser/chromium/chromium-imx.inc')
-rw-r--r-- | browser-layer/recipes-browser/chromium/chromium-imx.inc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/browser-layer/recipes-browser/chromium/chromium-imx.inc b/browser-layer/recipes-browser/chromium/chromium-imx.inc index db9580a..6b63165 100644 --- a/browser-layer/recipes-browser/chromium/chromium-imx.inc +++ b/browser-layer/recipes-browser/chromium/chromium-imx.inc | |||
@@ -27,7 +27,8 @@ do_patch[prefuncs] =+ "add_chromium_imx_patches" | |||
27 | # * Lost context problems are not known to happen with Vivante GPUs, | 27 | # * Lost context problems are not known to happen with Vivante GPUs, |
28 | # so it is safe to use ignore-lost-context | 28 | # so it is safe to use ignore-lost-context |
29 | # * EGL is on by default due to the GPU on the i.MX6 | 29 | # * EGL is on by default due to the GPU on the i.MX6 |
30 | PACKAGECONFIG_append = " use-egl ignore-lost-context" | 30 | # * Proprietary codecs need to be enabled for h.264 and MP4 support |
31 | PACKAGECONFIG_append = " use-egl ignore-lost-context proprietary-codecs" | ||
31 | 32 | ||
32 | copy_chromium_imx_files() { | 33 | copy_chromium_imx_files() { |
33 | # sources in src/ are already organized in a manner | 34 | # sources in src/ are already organized in a manner |
@@ -42,8 +43,4 @@ python add_chromium_imx_patches() { | |||
42 | d.appendVar('OZONE_WAYLAND_EXTRA_PATCHES', ' ' + d.getVar('CHROMIUM_IMX_WAYLAND_PATCHES', 1)) | 43 | d.appendVar('OZONE_WAYLAND_EXTRA_PATCHES', ' ' + d.getVar('CHROMIUM_IMX_WAYLAND_PATCHES', 1)) |
43 | } | 44 | } |
44 | 45 | ||
45 | # Necessary flags to enable support for h.264 and MP4 in Chromium | ||
46 | # (Parsing is done by ffmpeg) | ||
47 | EXTRA_OEGYP += "-Dproprietary_codecs=1 -Dffmpeg_branding=Chrome" | ||
48 | |||
49 | COMPATIBLE_MACHINE = "(mx6)" | 46 | COMPATIBLE_MACHINE = "(mx6)" |