From: Markus Fritsche Subject: media: default kAcceleratedVideoDecodeLinux to enabled when USE_V4L2_CODEC is the build's hardware decode path Date: 2026-04-26 Background ---------- chromium-fourier targets mainline-Linux Wayland on Rockchip (RK3566 hantro, RK3588 VDPU381) where the only HW video decode path is V4L2 stateless (via the in-tree media/gpu/v4l2 stack). The build is configured with use_vaapi = false use_v4l2_codec = true use_v4lplugin = true use_linux_v4l2_only = true Without this patch, GPU-process V4L2 decode is compiled in but stays runtime-disabled by default. The runtime master gate `media::kAcceleratedVideoDecodeLinux` (the user-visible feature name is "AcceleratedVideoDecoder") is currently flipped to ENABLED_BY_DEFAULT only when `BUILDFLAG(USE_VAAPI)` is set. On a USE_V4L2_CODEC-only build the feature stays DISABLED_BY_DEFAULT, the linux gpu_mojo_media_client returns `VideoDecoderType::kUnknown`, and `