src/mediawriterffmpeg.cpp:254:47: error: 'CODEC_CAP_EXPERIMENTAL' was not declared in this scope
if (codec->capabilities & CODEC_CAP_EXPERIMENTAL
^~~~~~~~~~~~~~~~~~~~~~
PR: 227726
Reported by: antoine (via exp-run)
Update to the latest major release of Node.js. This release includes
many significant changes, both to Node.js itself and the FreeBSD port.
https://nodejs.org/en/blog/release/v10.0.0/
In particular, Node.js now requires OpenSSL 1.1.0h, so the BUNDLED_SSL
option is enabled by default. It is still possible to disable this
option when using security/openssl-devel (which is currently at 1.1.0h).
Multiple patches are required to get Node.js building with the bundled
OpenSSL library. Only amd64 builds get optimized assembler; all other
archs use non-asm implementations.
h263-1998.cxx:237:22: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
m_context->flags = CODEC_FLAG_TRUNCATED // Possible missing packets
^
h263-1998.cxx:346:27: error: use of undeclared identifier 'CODEC_FLAG_AC_PRED'
m_context->flags |= CODEC_FLAG_AC_PRED;
^
h263-1998.cxx:348:28: error: use of undeclared identifier 'CODEC_FLAG_AC_PRED'
m_context->flags &= ~CODEC_FLAG_AC_PRED;
^
h263-1998.cxx:356:27: error: use of undeclared identifier 'CODEC_FLAG_LOOP_FILTER'
m_context->flags |= CODEC_FLAG_LOOP_FILTER;
^
h263-1998.cxx:358:28: error: use of undeclared identifier 'CODEC_FLAG_LOOP_FILTER'
m_context->flags &= ~CODEC_FLAG_LOOP_FILTER;
^
h263-1998.cxx:422:14: error: no member named 'lmin' in 'AVCodecContext'; did you mean 'qmin'?
m_context->lmin = m_context->qmin * FF_QP2LAMBDA;
^~~~
qmin
/usr/local/include/libavcodec/avcodec.h:2355:9: note: 'qmin' declared here
int qmin;
^
h263-1998.cxx:423:14: error: no member named 'lmax' in 'AVCodecContext'; did you mean 'qmax'?
m_context->lmax = m_context->qmax * FF_QP2LAMBDA;
^~~~
qmax
/usr/local/include/libavcodec/avcodec.h:2362:9: note: 'qmax' declared here
int qmax;
^
h263-1998.cxx:598:24: error: use of undeclared identifier 'CODEC_FLAG_4MV'
m_context->flags &= ~CODEC_FLAG_4MV;
^
PR: 227726
Reported by: antoine (via exp-run)
export_ffmpeg.c:834:24: error: no member named 'lmin' in 'struct AVCodecContext'; did you mean 'qmin'?
lavc_venc_context->lmin= (int)(FF_QP2LAMBDA * lavc_param_lmin + 0.5);
^~~~
qmin
/usr/local/include/libavcodec/avcodec.h:2355:9: note: 'qmin' declared here
int qmin;
^
export_ffmpeg.c:835:24: error: no member named 'lmax' in 'struct AVCodecContext'; did you mean 'qmax'?
lavc_venc_context->lmax= (int)(FF_QP2LAMBDA * lavc_param_lmax + 0.5);
^~~~
qmax
/usr/local/include/libavcodec/avcodec.h:2362:9: note: 'qmax' declared here
int qmax;
^
export_ffmpeg.c:841:24: error: no member named 'rc_strategy' in 'struct AVCodecContext'
lavc_venc_context->rc_strategy = lavc_param_vrc_strategy;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:859:24: error: no member named 'rc_qsquish' in 'struct AVCodecContext'
lavc_venc_context->rc_qsquish = lavc_param_rc_qsquish;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:860:24: error: no member named 'rc_qmod_amp' in 'struct AVCodecContext'
lavc_venc_context->rc_qmod_amp = lavc_param_rc_qmod_amp;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:861:24: error: no member named 'rc_qmod_freq' in 'struct AVCodecContext'
lavc_venc_context->rc_qmod_freq = lavc_param_rc_qmod_freq;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:862:24: error: no member named 'rc_eq' in 'struct AVCodecContext'
lavc_venc_context->rc_eq = lavc_param_rc_eq;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:866:24: error: no member named 'rc_buffer_aggressivity' in 'struct AVCodecContext'
lavc_venc_context->rc_buffer_aggressivity= lavc_param_rc_buffer_aggressivity;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:867:24: error: no member named 'rc_initial_cplx' in 'struct AVCodecContext'
lavc_venc_context->rc_initial_cplx = lavc_param_rc_initial_cplx;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:875:24: error: no member named 'intra_quant_bias' in 'struct AVCodecContext'
lavc_venc_context->intra_quant_bias = lavc_param_ibias;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:876:24: error: no member named 'inter_quant_bias' in 'struct AVCodecContext'
lavc_venc_context->inter_quant_bias = lavc_param_pbias;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:1090:37: error: use of undeclared identifier 'CODEC_FLAG_GRAY'
lavc_venc_context->flags |= CODEC_FLAG_GRAY;
^
export_ffmpeg.c:1092:37: error: use of undeclared identifier 'CODEC_FLAG_NORMALIZE_AQP'
lavc_venc_context->flags |= CODEC_FLAG_NORMALIZE_AQP;
^
export_ffmpeg.c:1110:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_DCT'
CODEC_FLAG_INTERLACED_DCT : 0;
^
export_ffmpeg.c:1112:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_ME'
CODEC_FLAG_INTERLACED_ME : 0;
^
export_ffmpeg.c:1159:37: error: use of undeclared identifier 'CODEC_FLAG_PASS1'
lavc_venc_context->flags |= CODEC_FLAG_PASS1;
^
export_ffmpeg.c:1173:37: error: use of undeclared identifier 'CODEC_FLAG_PASS2'
lavc_venc_context->flags |= CODEC_FLAG_PASS2;
^
export_ffmpeg.c:1204:39: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
lavc_venc_context->flags |= CODEC_FLAG_QSCALE;
^
export_ffmpeg.c:1209:24: error: no member named 'me_method' in 'struct AVCodecContext'
lavc_venc_context->me_method = ME_ZERO + lavc_param_vme;
~~~~~~~~~~~~~~~~~ ^
PR: 227726
Reported by: antoine (via exp-run)
Obtained from: Gentoo
- Create flavors for all PHP versions
- Use releases dir (not pre-)
PR: 227510
Approved by: mat
Differential Revision: https://reviews.freebsd.org/D15235