Skip to content

[FFmpegExtractor] Bail out on first missing component during find_package

Stefan Brüns requested to merge work/bruns/improve_ffmpeg_check into master

The various FFmpeg componets have different version schemes, so it is not possible to query all components in a single call.

On the other hand, subsequent find_package calls will overwrite the FOUND_FFMPEG variable with the last result, thus FOUND_FFMPEG will be set even when only libavutil is installed.

Make the component checks dependent on the earlier ones, so the summary shows the correct result.

CCBUG: 458313

Merge request reports