Skip to content

Instantly share code, notes, and snippets.

@guillego
Created July 5, 2023 08:46
Show Gist options
  • Save guillego/6e6c47c93f845d4477c0307dc4c1c772 to your computer and use it in GitHub Desktop.
Save guillego/6e6c47c93f845d4477c0307dc4c1c772 to your computer and use it in GitHub Desktop.
ffmpeg mmal patch
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
FFMPEG_CONF_OPTS += --enable-omx --enable-omx-rpi \
--extra-cflags=-I$(STAGING_DIR)/usr/include/IL
FFMPEG_DEPENDENCIES += rpi-userland
ifeq ($(BR2_arm),y)
# MMAL only available on 32-bit ARM
FFMPEG_CONF_OPTS += --enable-mmal
else
FFMPEG_CONF_OPTS += --disable-mmal
endif
else
FFMPEG_CONF_OPTS += --disable-mmal --disable-omx --disable-omx-rpi
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment