Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95272 Details for
Bug 145343
media-tv/xdtv-2.3.3 doesn't compile with media-libs/x264-svn-20060810 (masked package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch
x264.patch (text/plain), 1.23 KB, created by
Alexis Ballier
on 2006-08-28 05:30:01 UTC
(
hide
)
Description:
The patch
Filename:
MIME Type:
Creator:
Alexis Ballier
Created:
2006-08-28 05:30:01 UTC
Size:
1.23 KB
patch
obsolete
>diff -N -u -r xdtv-2.3.3/libavcodec/x264.c xdtv-2.3.3-new/libavcodec/x264.c >--- xdtv-2.3.3/libavcodec/x264.c 2006-07-05 21:19:11.000000000 +0200 >+++ xdtv-2.3.3-new/libavcodec/x264.c 2006-08-28 14:10:18.273476350 +0200 >@@ -142,13 +142,18 @@ > x4->params.rc.b_stat_write = (avctx->flags & CODEC_FLAG_PASS1); > if(avctx->flags & CODEC_FLAG_PASS2) x4->params.rc.b_stat_read = 1; > else{ >- if(avctx->crf) x4->params.rc.i_rf_constant = avctx->crf; >- else if(avctx->cqp > -1) x4->params.rc.i_qp_constant = avctx->cqp; >+ if(avctx->crf){ >+ x4->params.rc.i_rc_method = X264_RC_CRF; >+ x4->params.rc.i_rf_constant = avctx->crf; >+ }else if(avctx->cqp > -1){ >+ x4->params.rc.i_rc_method = X264_RC_CQP; >+ x4->params.rc.i_qp_constant = avctx->cqp; >+ } > } > > // if neither crf nor cqp modes are selected we have to enable the RC > // we do it this way because we cannot check if the bitrate has been set >- if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.b_cbr = 1; >+ if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.i_rc_method = X264_RC_ABR; > > 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 145343
: 95272