SSE4.1 intrinsics are built only with ffmpeg-API<3.3.
Reorder conditions a bit for a potential speedup.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
if ( use opengl || use egl ) && ! tc-has-tls; then
die "Your compiler lacks C++11 TLS support. Use GCC>=4.8 or Clang>=3.3."
fi
- if use vaapi && use cpu_flags_x86_sse4_1 && ! tc-is-gcc; then
+ if ! tc-is-gcc && use vaapi && use cpu_flags_x86_sse4_1 && \
+ { has_version '<media-video/ffmpeg-3.3:0' || has_version '<media-video/libav-13:0'; }; then
die "${PN} requires GCC for SSE4.1 intrinsics."
fi
fi