Closed acxz closed 1 year ago
patched with a17771e
Note another way to resolve this error is by ensuring the use of ffmpeg4.4 like done in the gazebo
package.
This error also occurs when building ignition-common
:
home/sandro/.cache/yay/ignition-common/src/gz-common-gz-common5_5.3.1/av/src/Video.cc:199:29: error: ‘AV_CODEC_CAP_TRUNCATED’ was not declared in this scope; did you mean ‘AV_CODEC_CAP_HARDWARE’?
199 | if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
| ^~~~~~~~~~~~~~~~~~~~~~
| AV_CODEC_CAP_HARDWARE
/home/sandro/.cache/yay/ignition-common/src/gz-common-gz-common5_5.3.1/av/src/Video.cc:200:39: error: ‘AV_CODEC_FLAG_TRUNCATED’ was not declared in this scope; did you mean ‘AV_CODEC_FLAG_DROPCHANGED’?
200 | this->dataPtr->codecCtx->flags |= AV_CODEC_FLAG_TRUNCATED;
| ^~~~~~~~~~~~~~~~~~~~~~~
| AV_CODEC_FLAG_DROPCHANGED