• Aman Gupta's avatar
    configure: fix --enable-omx compile on raspberry pi · 59e651c0
    Aman Gupta authored
    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
    76c82843, the rpi specific headers from /opt/vc/include/IL
    are required.
    Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
    59e651c0
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...