diff options
author | ahze <ahze@FreeBSD.org> | 2006-08-10 09:07:29 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-08-10 09:07:29 +0800 |
commit | c05cb7904bb9b49d52524bab590eb14c7bcd5804 (patch) | |
tree | c9ca39c0e9f2caeca4d0d65c67cb8c83a8847061 /multimedia/mplayer | |
parent | 7fc7a3dcd23ba26d791d3d110a86344303016231 (diff) | |
download | freebsd-ports-gnome-c05cb7904bb9b49d52524bab590eb14c7bcd5804.tar.gz freebsd-ports-gnome-c05cb7904bb9b49d52524bab590eb14c7bcd5804.tar.zst freebsd-ports-gnome-c05cb7904bb9b49d52524bab590eb14c7bcd5804.zip |
- Fix build with x264
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r-- | multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c b/multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c new file mode 100644 index 000000000000..3d3fa9c5dd7b --- /dev/null +++ b/multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c @@ -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; |