mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Fix build with x264
This commit is contained in:
parent
6cd3870357
commit
a032a2b84f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170228
1 changed files with 11 additions and 0 deletions
11
multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c
Normal file
11
multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- libmpcodecs/ve_x264.c.orig Wed Aug 9 21:05:29 2006
|
||||
+++ libmpcodecs/ve_x264.c Wed Aug 9 21:06:26 2006
|
||||
@@ -275,7 +275,7 @@
|
||||
"VBV requires both vbv_maxrate and vbv_bufsize.\n");
|
||||
return 0;
|
||||
}
|
||||
- mod->param.rc.b_cbr = 1;
|
||||
+ mod->param.rc.i_rc_method = 1;
|
||||
mod->param.rc.i_bitrate = bitrate;
|
||||
mod->param.rc.f_rate_tolerance = ratetol;
|
||||
mod->param.rc.i_vbv_max_bitrate = vbv_maxrate;
|
Loading…
Add table
Reference in a new issue