sams last ladspa icons, libopus/vp9, mixer fixer, plugin resets, fmt frmsz, shm fixes
[goodguy/history.git] / cinelerra-5.1 / thirdparty / src / ffmpeg-3.3.4.patch1
1 diff -urN a/configure b/configure
2 --- a/configure 2017-04-12 19:55:54.000000000 -0600
3 +++ b/configure 2017-04-16 16:12:23.518837543 -0600
4 @@ -5812,7 +5812,7 @@
5                                 { check_lib openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC && add_cppflags -DOPJ_STATIC; } ||
6                                 die "ERROR: libopenjpeg not found"; }
7  enabled libopenmpt        && require_pkg_config "libopenmpt >= 0.2.6557" libopenmpt/libopenmpt.h openmpt_module_create
8 -enabled libopus           && require_pkg_config opus opus_multistream.h opus_multistream_decoder_create
9 +enabled libopus           && use_pkg_config opus opus_multistream.h opus_multistream_decoder_create
10  enabled libpulse          && require_pkg_config libpulse pulse/pulseaudio.h pa_context_new
11  enabled librtmp           && require_pkg_config librtmp librtmp/rtmp.h RTMP_Socket
12  enabled librubberband     && require_pkg_config "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new
13 @@ -5871,7 +5871,9 @@
14                                 die "ERROR: libx264 must be installed and version must be >= 0.118."; } &&
15                               { check_cpp_condition x264.h "X264_MPEG2" &&
16                                 enable libx262; }
17 -enabled libx265           && require_pkg_config x265 x265.h x265_api_get &&
18 +enabled libx265           && { use_pkg_config x265 "stdint.h x265.h" x265_api_get ||
19 +                               { require libx265 x265.h x265_encoder_encode -lx265 -lstdc++ &&
20 +                                 warn "using libx265 without pkg-config"; } } &&
21                               { check_cpp_condition x265.h "X265_BUILD >= 68" ||
22                                 die "ERROR: libx265 version must be >= 68."; }
23  enabled libxavs           && require libxavs "stdint.h xavs.h" xavs_encoder_encode -lxavs