# * Lost context problems are not known to happen with Vivante GPUs,
# so it is safe to use ignore-lost-context
# * EGL is on by default due to the GPU on the i.MX6
-PACKAGECONFIG_append = " use-egl ignore-lost-context"
+# * Proprietary codecs need to be enabled for h.264 and MP4 support
+PACKAGECONFIG_append = " use-egl ignore-lost-context proprietary-codecs"
copy_chromium_imx_files() {
# sources in src/ are already organized in a manner
d.appendVar('OZONE_WAYLAND_EXTRA_PATCHES', ' ' + d.getVar('CHROMIUM_IMX_WAYLAND_PATCHES', 1))
}
-# Necessary flags to enable support for h.264 and MP4 in Chromium
-# (Parsing is done by ffmpeg)
-EXTRA_OEGYP += "-Dproprietary_codecs=1 -Dffmpeg_branding=Chrome"
-
COMPATIBLE_MACHINE = "(mx6)"
include chromium-imx.inc
-CHROMIUM_IMX_BRANCH = "chromium-40"
-CHROMIUM_IMX_SRCREV = "af13a3dbdfdb4b162a9f9692761216e5d6204e57"
+CHROMIUM_IMX_BRANCH = "master"
+CHROMIUM_IMX_SRCREV = "4a2d15ab899b9944bb3adb2ddd250530da5b2e1a"
CHROMIUM_IMX_COMMON_PATCHES += "file://${PATCH_BASE_DIR}/common/0001-Enable-share-group-workaround-for-Vivante-GPUs.patch"
VPU_PATCHES = "file://${PATCH_BASE_DIR}/common/0002-Add-VPU-video-decode-accelerator-to-Chromium-GPU-.patch"