Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 18 years ago
parent
commit
5836bd7061
3 changed files with 17 additions and 3 deletions
  1. +14
    -0
      package/stf/mpeg4ip/hotfix.patch
  2. +1
    -1
      package/stf/mpeg4ip/mpeg4ip.conf
  3. +2
    -2
      package/stf/mpeg4ip/mpeg4ip.desc

+ 14
- 0
package/stf/mpeg4ip/hotfix.patch

@ -0,0 +1,14 @@
Change for new x264 api, extraced from mpeg4ip cvs.
--- ./server/mp4live/video_x264.cpp.orig 2007-03-02 00:25:59.000000000 +0100
+++ ./server/mp4live/video_x264.cpp 2007-03-02 00:26:08.000000000 +0100
@@ -168,7 +168,7 @@
m_param.i_bframe = 0;
//debug_message("h264 b frames %d", m_param.i_bframe);
m_param.rc.i_bitrate = Profile()->GetIntegerValue(CFG_VIDEO_BIT_RATE);
- m_param.rc.b_cbr = Profile()->GetBoolValue(CFG_X264_USE_CBR) ? 1 : 0;
+ m_param.rc.i_rc_method = X264_RC_ABR;
m_param.rc.f_rate_tolerance = Profile()->GetFloatValue(CFG_X264_BIT_RATE_TOLERANCE);
if (Profile()->GetBoolValue(CFG_X264_USE_VBV)) {
if (Profile()->GetBoolValue(CFG_X264_FORCE_BASELINE)) {

+ 1
- 1
package/stf/mpeg4ip/mpeg4ip.conf

@ -20,8 +20,8 @@
# #
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
hook_add preconf 3 "./bootstrap" hook_add preconf 3 "./bootstrap"
hook_add postmake 3 "cp -v lib/mp4v2/*.h $root/$prefix/include/"
var_append confopt " " "--disable-warns-as-err" var_append confopt " " "--disable-warns-as-err"
var_append CXX_WRAPPER_REMOVE " " "-Werror" var_append CXX_WRAPPER_REMOVE " " "-Werror"

+ 2
- 2
package/stf/mpeg4ip/mpeg4ip.desc

@ -46,7 +46,7 @@
[L] MPL [L] MPL
[S] Stable [S] Stable
[V] 1.5
[V] 1.5.0.1
[P] X -?---5---9 163.900 [P] X -?---5---9 163.900
[D] 3149783618 mpeg4ip-1.5.tar.gz http://dl.sourceforge.net/mpeg4ip/
[D] 4178438560 mpeg4ip-1.5.0.1.tar.gz http://dl.sourceforge.net/mpeg4ip/

Loading…
Cancel
Save