Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95194 Details for
Bug 143596
media-video/cinelerra-cvs-20060219 won't compile after media-libs/x264-svn-20060810 update
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A fix.
x264.patch (text/plain), 1.40 KB, created by
Alexis Ballier
on 2006-08-27 04:55:50 UTC
(
hide
)
Description:
A fix.
Filename:
MIME Type:
Creator:
Alexis Ballier
Created:
2006-08-27 04:55:50 UTC
Size:
1.40 KB
patch
obsolete
>--- cinelerra-cvs-20060827/quicktime/qth264.c 2006-08-27 00:32:07.130566427 +0200 >+++ working/quicktime/qth264.c 2006-08-27 03:00:58.486699204 +0200 >@@ -136,7 +136,11 @@ > x264_param_t default_params; > x264_param_default(&default_params); > // Reset quantizer if fixed bitrate >+#if X264_BUILD < 48 > if(codec->param.rc.b_cbr) >+#else >+ if(codec->param.rc.i_rc_method == X264_RC_ABR ) >+#endif > { > codec->param.rc.i_qp_constant = default_params.rc.i_qp_constant; > codec->param.rc.i_qp_min = default_params.rc.i_qp_min; >@@ -469,7 +473,11 @@ > } > else > if(!strcasecmp(key, "h264_fix_bitrate")) >+#if X264_BUILD < 48 > codec->param.rc.b_cbr = (*(int*)value) / 1000; >+#else >+ codec->param.rc.i_bitrate = (*(int*)value) / 1000; >+#endif > } > } > >--- cinelerra-cvs-20060827/quicktime/ffmpeg/libavcodec/x264.c 2006-08-27 00:32:00.564013252 +0200 >+++ working/quicktime/ffmpeg/libavcodec/x264.c 2006-08-27 02:47:49.224599225 +0200 >@@ -135,8 +135,13 @@ > x4->params.i_keyint_max = avctx->gop_size; > x4->params.rc.i_bitrate = avctx->bit_rate / 1000; > x4->params.rc.i_vbv_buffer_size = avctx->rc_buffer_size / 1000; >- if(avctx->rc_buffer_size) >+ if(avctx->rc_buffer_size){ >+#if X264_BUILD < 48 > x4->params.rc.b_cbr = 1; >+#else >+ x4->params.rc.i_rc_method = X264_RC_ABR; >+#endif >+ } > x4->params.i_bframe = avctx->max_b_frames; > x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 143596
: 95194