agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
520 stars 407 forks source link

rpidistro-ffmpeg: remove --enable-v4l2-request flag #1136

Closed EasyIP2023 closed 1 year ago

EasyIP2023 commented 1 year ago

Problem

When building with latest OE-Core master. Running into bellow issue. After further research issue appears to be similar to

https://github.com/bootlin/libva-v4l2-request/issues/35

| src/libavcodec/hevc-ctrls-v2.h:59:8: error: redefinition of 'struct v4l2_ctrl_hevc_sps'
|    59 | struct v4l2_ctrl_hevc_sps {
|       |        ^~~~~~~~~~~~~~~~~~
| In file included from
/../../../recipe-sysroot/usr/include/linux/videodev2.h:65,
|                  from src/libavcodec/hevc-ctrls-v2.h:14:

Solution

Disable ffmpeg libva-v4l2-request so that master builds and until better investigation can be done to fix issue.

agherzan commented 1 year ago

Thanks for this. This looks good. I've triggered the builders and marked the MR for merge.