diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-08-10 10:29:51 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-08-10 10:29:51 +0000 |
commit | 37bf7b369f47299c64418b616fa779e712107b5b (patch) | |
tree | 64a2aad681eb9fb06672a7e927d8866092590842 /multimedia/vlc-devel/files | |
parent | e9479c379af6f9b96693697948dd73b65c2386d8 (diff) |
- Fix build with x264
Reported by: many
Notes
Notes:
svn path=/head/; revision=170270
Diffstat (limited to 'multimedia/vlc-devel/files')
-rw-r--r-- | multimedia/vlc-devel/files/patch-modules_codec_x264.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/vlc-devel/files/patch-modules_codec_x264.c b/multimedia/vlc-devel/files/patch-modules_codec_x264.c new file mode 100644 index 000000000000..2ff0294a2ab2 --- /dev/null +++ b/multimedia/vlc-devel/files/patch-modules_codec_x264.c @@ -0,0 +1,11 @@ +--- modules/codec/x264.c.orig Wed Aug 9 21:24:08 2006 ++++ modules/codec/x264.c Wed Aug 9 21:24:27 2006 +@@ -588,7 +588,7 @@ + + /* cbr = 1 overrides qp or crf and sets an average bitrate + but maxrate = average bitrate is needed for "real" CBR */ +- if( p_sys->param.rc.i_bitrate > 0 ) p_sys->param.rc.b_cbr = 1; ++ if( p_sys->param.rc.i_bitrate > 0 ) p_sys->param.rc.i_rc_method = 1; + + var_Get( p_enc, SOUT_CFG_PREFIX "qpstep", &val ); + if( val.i_int >= 0 && val.i_int <= 51 ) p_sys->param.rc.i_qp_step = val.i_int; |