diff options
author | Aman Gupta <aman@tmm1.net> | 2019-08-29 08:44:45 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2019-08-29 08:52:37 -0700 |
commit | 59e651c0524450e2acb0cfb2838cd989e806899b (patch) | |
tree | 303acf0ccdb6a52d35743ffcaad6b7ee30cebce3 /libavcodec/aacsbr_fixed.c | |
parent | 15a65c13e18464fa3077812f0a21131dcf7830cb (diff) | |
download | ffmpeg-59e651c0524450e2acb0cfb2838cd989e806899b.tar.gz |
configure: fix --enable-omx compile on raspberry pi
Many ffmpeg + rpi compilation guides on the internet recommend
using `./configure --enable-omx --enable-omx-rpi`. This fails
to find the IL OMX headers on device because the omx require_headers
check happens first before the add_cflags in omx_rpi.
A workaround is to use `./configure --enable-omx-rpi` only, since
omx_rpi already implies omx. But because many users expect to use
existing scripts and commands, we swap the order here so omx_rpi
special cases are applied first.
In the past this wasn't an issue because users noticed the OMX_Core.h
missing error and installed libomxil-bellagio-dev. But since
76c82843ccad1, the rpi specific headers from /opt/vc/include/IL
are required.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavcodec/aacsbr_fixed.c')
0 files changed, 0 insertions, 0 deletions